2 files modified
860 files added
| | |
| | | # Mobile Tools for Java (J2ME) |
| | | .mtj.tmp/ |
| | | |
| | | # Compiled class file |
| | | *.class |
| | | |
| | | # Eclipse |
| | | .project |
| | | .classpath |
| | | .settings/ |
| | | |
| | | # Intellij |
| | | *.ipr |
| | | *.iml |
| | | *.iws |
| | | .idea/ |
| | | |
| | | # Maven |
| | | target/ |
| | | |
| | | # Gradle |
| | | build |
| | | .gradle |
| | | |
| | | # Log file |
| | | *.log |
| | | |
| | | # out |
| | | **/out/ |
| | | |
| | | # hbuilderx |
| | | .hbuilderx/ |
| | | unpackage/ |
| | | |
| | | # BlueJ files |
| | | *.ctxt |
| | | |
| | | # Mobile Tools for Java (J2ME) |
| | | .mtj.tmp/ |
| | |
| | | # Package Files # |
| | | *.jar |
| | | *.war |
| | | *.nar |
| | | *.ear |
| | | *.zip |
| | | *.tar |
| | | *.tar.gz |
| | | *.rar |
| | | *.pid |
| | | *.orig |
| | | |
| | | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml |
| | | hs_err_pid* |
| | | |
| | | # Mac |
| | | .DS_Store |
| | | |
| | | # VUE |
| | | node_modules/ |
| | | /dist/ |
| | | npm-debug.log* |
| | | yarn-debug.log* |
| | | yarn-error.log* |
| | | {{#unit}} |
| | | /test/unit/coverage/ |
| | | {{/unit}} |
| | | {{#e2e}} |
| | | /test/e2e/reports/ |
| | | selenium-debug.log |
| | | {{/e2e}} |
| | | |
| | | # Editor directories and files |
| | | .idea |
| | | .vscode |
| | | *.suo |
| | | *.ntvs* |
| | | *.njsproj |
| | | *.sln |
| New file |
| | |
| | | ## Database design specification |
| | | 01-Draft: for draft document. |
| | | 02-Review: for project manager to comment and review. |
| | | 03-Submitted: Submitted for customer to comment and approve. |
| | | |
| | | |
| | | |
| New file |
| | |
| | | /* |
| | | Navicat MySQL Data Transfer |
| | | |
| | | Source Server : 39.98.182.30 |
| | | Source Server Version : 50535 |
| | | Source Host : 39.98.182.30:3306 |
| | | Source Database : fr_oqb |
| | | |
| | | Target Server Type : MYSQL |
| | | Target Server Version : 50535 |
| | | File Encoding : 65001 |
| | | |
| | | Date: 2024-02-23 11:52:25 |
| | | */ |
| | | |
| | | SET FOREIGN_KEY_CHECKS=0; |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for order_active |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `order_active`; |
| | | CREATE TABLE `order_active` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `no` varchar(128) DEFAULT NULL COMMENT '订单编号', |
| | | `totalmoney` decimal(18,5) DEFAULT NULL COMMENT '订单总金额', |
| | | `payedmoney` decimal(18,5) DEFAULT NULL COMMENT '已支付金额', |
| | | `paymentmethod` int(11) DEFAULT NULL, |
| | | `discountmoney` decimal(18,5) DEFAULT NULL COMMENT '折扣金额', |
| | | `status` int(11) DEFAULT NULL COMMENT '状态', |
| | | `ordertime` datetime DEFAULT NULL COMMENT '下单时间', |
| | | `paytime` datetime DEFAULT NULL COMMENT '支付时间', |
| | | `sendtime` datetime DEFAULT NULL COMMENT '发货时间', |
| | | `receivetime` datetime DEFAULT NULL COMMENT '收货时间', |
| | | `commenttime` datetime DEFAULT NULL COMMENT '评价时间', |
| | | `completetime` datetime DEFAULT NULL COMMENT '完成时间', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `sendername` varchar(128) DEFAULT NULL COMMENT '发货人名称', |
| | | `sendercode` varchar(64) DEFAULT NULL COMMENT '发货人编号', |
| | | `sendercontactno` int(64) DEFAULT NULL COMMENT '发货人联系方式', |
| | | `targetaddress` varchar(1024) DEFAULT NULL COMMENT '收货地址', |
| | | `deliveryaddress` varchar(1024) DEFAULT NULL COMMENT '发货地址', |
| | | `optimalcoupon` varchar(1024) DEFAULT NULL COMMENT '优惠券', |
| | | `logisticscompany` varchar(64) DEFAULT NULL COMMENT '物流公司', |
| | | `logisticsno` varchar(64) DEFAULT NULL COMMENT '物流编号', |
| | | `transportmode` varchar(64) DEFAULT NULL COMMENT '运输方式', |
| | | `boxcount` int(11) DEFAULT NULL COMMENT '箱数', |
| | | `boxweight` decimal(18,5) DEFAULT NULL COMMENT '重量', |
| | | `freight` decimal(18,5) DEFAULT NULL COMMENT '运费', |
| | | `commentcontent` varchar(1024) DEFAULT NULL COMMENT '评价内容', |
| | | `commentlevel` int(11) DEFAULT NULL COMMENT '评价等级', |
| | | `receiverid` varchar(64) DEFAULT NULL COMMENT '收货人ID', |
| | | `vipuserId` varchar(64) DEFAULT NULL COMMENT '会员ID', |
| | | `vipname` varchar(128) DEFAULT NULL COMMENT '会员名称', |
| | | `vipphone` varchar(32) DEFAULT NULL COMMENT '会员联系电话', |
| | | `vipdiamondtype` int(11) DEFAULT NULL COMMENT '会员等级', |
| | | `viptype` int(11) DEFAULT NULL COMMENT '会员类型', |
| | | `vippicture` varchar(1024) DEFAULT NULL COMMENT '会员肖像', |
| | | `vipcarddiscountrate` decimal(18,5) DEFAULT NULL COMMENT '会员卡折扣率', |
| | | `type` int(11) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of order_active |
| | | -- ---------------------------- |
| | | INSERT INTO `order_active` VALUES ('09ecfc99-a97a-4d16-a6cb-8b2b8311f65b', 'A000000006', '0.10000', null, null, null, '0', '2024-02-20 14:12:54', null, null, null, null, null, '0', null, '2024-02-20 14:12:54', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, '2', null, 'https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132', null, '1'); |
| | | INSERT INTO `order_active` VALUES ('42836373-b78b-4e4f-b749-88863a6e2e56', 'A000000002', '0.01000', '0.01000', '2', null, '4', '2024-01-31 15:01:39', '2024-01-31 15:02:19', null, null, null, null, '0', null, '2024-01-31 15:01:39', '2024-01-31 15:02:19', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '0d9d1d9c-9be8-4dc1-9102-be8b10110c27', null, '15122116943', null, null, 'https://www.farriver.top:443/static/picture//ohzrgMbsGBZ6e04adb165d4f310fdd7f838895ae590c-20240125093313.png', null, '0'); |
| | | INSERT INTO `order_active` VALUES ('5b9acb50-eb53-4588-a53a-68fc7c0ec60f', 'A000000004', '0.10000', '0.10000', '0', null, '4', '2024-01-31 15:06:45', '2024-01-31 15:06:45', null, null, null, null, '0', null, '2024-01-31 15:06:45', '2024-01-31 15:06:45', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '0d9d1d9c-9be8-4dc1-9102-be8b10110c27', null, '15122116943', null, null, 'https://www.farriver.top:443/static/picture//ohzrgMbsGBZ6e04adb165d4f310fdd7f838895ae590c-20240125093313.png', null, '1'); |
| | | INSERT INTO `order_active` VALUES ('720b16d8-ae77-401d-90ea-08f76ae08afa', 'A000000001', '0.01000', null, null, null, '0', '2024-01-31 14:46:08', null, null, null, null, null, '0', null, '2024-01-31 14:46:08', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '0d9d1d9c-9be8-4dc1-9102-be8b10110c27', null, '15122116943', null, null, 'https://www.farriver.top:443/static/picture//ohzrgMbsGBZ6e04adb165d4f310fdd7f838895ae590c-20240125093313.png', null, '0'); |
| | | INSERT INTO `order_active` VALUES ('7b166ca2-52b2-4e2c-8ee4-cab7cc30fcc4', 'A000000012', '0.10000', null, null, null, '0', '2024-02-20 14:33:36', null, null, null, null, null, '0', null, '2024-02-20 14:33:36', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, '2', null, 'https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132', null, '1'); |
| | | INSERT INTO `order_active` VALUES ('93e25d3e-e962-4e36-9679-8b3afe29c94e', 'A000000011', '0.10000', null, null, null, '0', '2024-02-20 14:13:58', null, null, null, null, null, '0', null, '2024-02-20 14:13:58', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, '2', null, 'https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132', null, '1'); |
| | | INSERT INTO `order_active` VALUES ('9fee1b0c-abf5-4ca3-b570-0fd889a17e34', 'A000000009', '0.10000', null, null, null, '0', '2024-02-20 14:13:19', null, null, null, null, null, '0', null, '2024-02-20 14:13:19', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, '2', null, 'https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132', null, '1'); |
| | | INSERT INTO `order_active` VALUES ('a3eb0ed9-2eef-4083-883e-5e6bcffd4f86', 'A000000010', '0.01000', '0.01000', '2', null, '4', '2024-02-20 14:13:43', '2024-02-20 14:13:49', null, null, null, null, '0', null, '2024-02-20 14:13:43', '2024-02-20 14:13:49', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, '2', null, 'https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132', null, '0'); |
| | | INSERT INTO `order_active` VALUES ('a426d99c-ae00-485a-b887-13762ee89670', 'A000000008', '0.10000', null, null, null, '0', '2024-02-20 14:13:16', null, null, null, null, null, '0', null, '2024-02-20 14:13:16', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, '2', null, 'https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132', null, '1'); |
| | | INSERT INTO `order_active` VALUES ('b62603c7-4dd4-4a38-be23-fa5717283988', 'A000000013', '0.01000', null, null, null, '0', '2024-02-20 22:04:15', null, null, null, null, null, '0', null, '2024-02-20 22:04:15', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, '2', null, 'https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132', null, '0'); |
| | | INSERT INTO `order_active` VALUES ('d0993a0e-ea3a-4913-9417-f4736a03de1e', 'A000000007', '0.10000', null, null, null, '0', '2024-02-20 14:13:12', null, null, null, null, null, '0', null, '2024-02-20 14:13:12', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, '2', null, 'https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132', null, '1'); |
| | | INSERT INTO `order_active` VALUES ('d95a1e55-b704-4d22-8741-f60ff29f1ff1', 'A000000005', '0.01000', null, null, null, '0', '2024-02-07 11:29:17', null, null, null, null, null, '0', null, '2024-02-07 11:29:17', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, '2', null, 'https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132', null, '0'); |
| | | INSERT INTO `order_active` VALUES ('f6eec033-8324-45c1-86d7-2da5492c2ce4', 'A000000003', '0.01000', '0.01000', '2', null, '4', '2024-01-31 15:05:15', '2024-01-31 15:05:32', null, null, null, null, '0', null, '2024-01-31 15:05:15', '2024-01-31 15:05:32', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, '0d9d1d9c-9be8-4dc1-9102-be8b10110c27', null, '15122116943', null, null, 'https://www.farriver.top:443/static/picture//ohzrgMbsGBZ6e04adb165d4f310fdd7f838895ae590c-20240125093313.png', null, '0'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for order_active_product |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `order_active_product`; |
| | | CREATE TABLE `order_active_product` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `productid` varchar(64) DEFAULT NULL COMMENT '产品ID', |
| | | `productcode` varchar(64) DEFAULT NULL COMMENT '产品编号', |
| | | `productname` varchar(256) DEFAULT NULL COMMENT '产品名称', |
| | | `status` int(11) DEFAULT NULL COMMENT '状态', |
| | | `color` varchar(32) DEFAULT NULL COMMENT '颜色', |
| | | `size` varchar(32) DEFAULT NULL COMMENT '尺码', |
| | | `count` int(11) DEFAULT NULL COMMENT '数量', |
| | | `image` varchar(256) DEFAULT NULL COMMENT '产品图片', |
| | | `price` decimal(18,5) DEFAULT NULL COMMENT '产品原价', |
| | | `saleprice` decimal(18,5) DEFAULT NULL COMMENT '售价', |
| | | `rejectreason` varchar(1024) DEFAULT NULL COMMENT '拒绝理由', |
| | | `rejectcomment` varchar(1024) DEFAULT NULL COMMENT '拒绝注释', |
| | | `rejecttime` datetime DEFAULT NULL COMMENT '拒绝时间', |
| | | `payer` varchar(256) DEFAULT NULL COMMENT '支付人', |
| | | `payedmoney` decimal(18,5) DEFAULT NULL COMMENT '支付金额', |
| | | `discount` decimal(18,5) DEFAULT NULL COMMENT '折扣金额', |
| | | `payee` varchar(256) DEFAULT NULL COMMENT '收款人', |
| | | `orderid` varchar(64) DEFAULT NULL, |
| | | `orderno` varchar(128) DEFAULT NULL COMMENT '订单编号', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of order_active_product |
| | | -- ---------------------------- |
| | | INSERT INTO `order_active_product` VALUES ('21b242ff-b486-4af4-b658-6e909c7441d7', '0', null, '2024-02-07 11:29:17', null, 'b1a5ca4e-ecad-420f-8049-c7897e9b09b5', null, '0.1', '0', null, null, null, null, '0.01000', null, null, null, null, null, null, null, null, 'd95a1e55-b704-4d22-8741-f60ff29f1ff1', 'A000000005'); |
| | | INSERT INTO `order_active_product` VALUES ('26c77d55-bfd5-4b20-951e-f089543f8efe', '0', null, '2024-02-20 14:13:58', null, '3a4cfd45-9303-4ed6-97cd-a50a7ce967c4', null, '实训答辩', '0', null, null, null, null, '0.10000', null, null, null, null, null, null, null, null, '93e25d3e-e962-4e36-9679-8b3afe29c94e', 'A000000011'); |
| | | INSERT INTO `order_active_product` VALUES ('65dcbe62-0012-4f24-9bcd-bd936b73d848', '0', null, '2024-02-20 14:13:19', null, '3a4cfd45-9303-4ed6-97cd-a50a7ce967c4', null, '实训答辩', '0', null, null, null, null, '0.10000', null, null, null, null, null, null, null, null, '9fee1b0c-abf5-4ca3-b570-0fd889a17e34', 'A000000009'); |
| | | INSERT INTO `order_active_product` VALUES ('66236cd6-e046-4dbe-adac-a46939a21f9d', '0', null, '2024-02-20 14:13:43', null, 'b1a5ca4e-ecad-420f-8049-c7897e9b09b5', null, '0.1', '0', null, null, null, null, '0.01000', null, null, null, null, null, null, null, null, 'a3eb0ed9-2eef-4083-883e-5e6bcffd4f86', 'A000000010'); |
| | | INSERT INTO `order_active_product` VALUES ('673f6950-2118-4ad6-b13a-a8a9f94f3637', '0', null, '2024-01-31 14:46:08', null, 'b1a5ca4e-ecad-420f-8049-c7897e9b09b5', null, '0.1', '0', null, null, null, null, '0.01000', null, null, null, null, null, null, null, null, '720b16d8-ae77-401d-90ea-08f76ae08afa', 'A000000001'); |
| | | INSERT INTO `order_active_product` VALUES ('74d18ed8-110d-4ccd-bae9-d5a44929ff81', '0', null, '2024-02-20 14:33:36', null, '3a4cfd45-9303-4ed6-97cd-a50a7ce967c4', null, '实训答辩', '0', null, null, null, null, '0.10000', null, null, null, null, null, null, null, null, '7b166ca2-52b2-4e2c-8ee4-cab7cc30fcc4', 'A000000012'); |
| | | INSERT INTO `order_active_product` VALUES ('83ec3f00-369a-4ddb-91a9-ecefbbab499c', '0', null, '2024-02-20 14:13:16', null, '3a4cfd45-9303-4ed6-97cd-a50a7ce967c4', null, '实训答辩', '0', null, null, null, null, '0.10000', null, null, null, null, null, null, null, null, 'a426d99c-ae00-485a-b887-13762ee89670', 'A000000008'); |
| | | INSERT INTO `order_active_product` VALUES ('8abfa515-6c46-4471-8293-b24c421ffa00', '0', null, '2024-02-20 14:12:54', null, '3a4cfd45-9303-4ed6-97cd-a50a7ce967c4', null, '实训答辩', '0', null, null, null, null, '0.10000', null, null, null, null, null, null, null, null, '09ecfc99-a97a-4d16-a6cb-8b2b8311f65b', 'A000000006'); |
| | | INSERT INTO `order_active_product` VALUES ('8da14ffc-cdac-47be-aba5-08047569cc8e', '0', null, '2024-02-20 22:04:15', null, 'b1a5ca4e-ecad-420f-8049-c7897e9b09b5', null, '0.1', '0', null, null, null, null, '0.01000', null, null, null, null, null, null, null, null, 'b62603c7-4dd4-4a38-be23-fa5717283988', 'A000000013'); |
| | | INSERT INTO `order_active_product` VALUES ('ab12d76d-06c3-458e-aedb-ee77bb3711d2', '0', null, '2024-01-31 15:06:45', null, '3a4cfd45-9303-4ed6-97cd-a50a7ce967c4', null, '实训答辩', '0', null, null, null, null, '0.10000', null, null, null, null, null, null, null, null, '5b9acb50-eb53-4588-a53a-68fc7c0ec60f', 'A000000004'); |
| | | INSERT INTO `order_active_product` VALUES ('af423938-697d-474e-8968-0e6a13e08ecc', '0', null, '2024-02-20 14:13:12', null, '3a4cfd45-9303-4ed6-97cd-a50a7ce967c4', null, '实训答辩', '0', null, null, null, null, '0.10000', null, null, null, null, null, null, null, null, 'd0993a0e-ea3a-4913-9417-f4736a03de1e', 'A000000007'); |
| | | INSERT INTO `order_active_product` VALUES ('c02ef08a-f466-4791-803e-ee5366084e9e', '0', null, '2024-01-31 15:01:39', null, 'b1a5ca4e-ecad-420f-8049-c7897e9b09b5', null, '0.1', '0', null, null, null, null, '0.01000', null, null, null, null, null, null, null, null, '42836373-b78b-4e4f-b749-88863a6e2e56', 'A000000002'); |
| | | INSERT INTO `order_active_product` VALUES ('edc3e2e7-119f-496f-b2c7-95e52910726a', '0', null, '2024-01-31 15:05:15', null, 'b1a5ca4e-ecad-420f-8049-c7897e9b09b5', null, '0.1', '0', null, null, null, null, '0.01000', null, null, null, null, null, null, null, null, 'f6eec033-8324-45c1-86d7-2da5492c2ce4', 'A000000003'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for order_history |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `order_history`; |
| | | CREATE TABLE `order_history` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `no` varchar(128) DEFAULT NULL COMMENT '订单编号', |
| | | `totalmoney` decimal(18,5) DEFAULT NULL COMMENT '订单总金额', |
| | | `payedmoney` decimal(18,5) DEFAULT NULL COMMENT '已支付金额', |
| | | `paymentmethod` int(11) DEFAULT NULL, |
| | | `discountmoney` decimal(18,5) DEFAULT NULL COMMENT '折扣金额', |
| | | `status` int(11) DEFAULT NULL COMMENT '状态', |
| | | `ordertime` datetime DEFAULT NULL COMMENT '下单时间', |
| | | `paytime` datetime DEFAULT NULL COMMENT '支付时间', |
| | | `sendtime` datetime DEFAULT NULL COMMENT '发货时间', |
| | | `receivetime` datetime DEFAULT NULL COMMENT '收货时间', |
| | | `commenttime` datetime DEFAULT NULL COMMENT '评价时间', |
| | | `completetime` datetime DEFAULT NULL COMMENT '完成时间', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `sendername` varchar(128) DEFAULT NULL COMMENT '发货人名称', |
| | | `sendercode` varchar(64) DEFAULT NULL COMMENT '发货人编号', |
| | | `sendercontactno` int(64) DEFAULT NULL COMMENT '发货人联系方式', |
| | | `targetaddress` varchar(1024) DEFAULT NULL COMMENT '收货地址', |
| | | `deliveryaddress` varchar(1024) DEFAULT NULL COMMENT '发货地址', |
| | | `optimalcoupon` varchar(1024) DEFAULT NULL COMMENT '优惠券', |
| | | `logisticscompany` varchar(64) DEFAULT NULL COMMENT '物流公司', |
| | | `logisticsno` varchar(64) DEFAULT NULL COMMENT '物流编号', |
| | | `transportmode` varchar(64) DEFAULT NULL COMMENT '运输方式', |
| | | `boxcount` int(11) DEFAULT NULL COMMENT '箱数', |
| | | `boxweight` decimal(18,5) DEFAULT NULL COMMENT '重量', |
| | | `freight` decimal(18,5) DEFAULT NULL COMMENT '运费', |
| | | `commentcontent` varchar(1024) DEFAULT NULL COMMENT '评价内容', |
| | | `commentlevel` int(11) DEFAULT NULL COMMENT '评价等级', |
| | | `receiverid` varchar(64) DEFAULT NULL COMMENT '收货人ID', |
| | | `vipuserId` varchar(64) DEFAULT NULL COMMENT '会员ID', |
| | | `vipname` varchar(128) DEFAULT NULL COMMENT '会员名称', |
| | | `vipphone` varchar(32) DEFAULT NULL COMMENT '会员联系电话', |
| | | `vipdiamondtype` int(11) DEFAULT NULL COMMENT '会员等级', |
| | | `viptype` int(11) DEFAULT NULL COMMENT '会员类型', |
| | | `vippicture` varchar(1024) DEFAULT NULL COMMENT '会员肖像', |
| | | `vipcarddiscountrate` decimal(18,5) DEFAULT NULL COMMENT '会员卡折扣率', |
| | | `type` int(11) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of order_history |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for order_history_product |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `order_history_product`; |
| | | CREATE TABLE `order_history_product` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `productid` varchar(64) DEFAULT NULL COMMENT '产品ID', |
| | | `productcode` varchar(64) DEFAULT NULL COMMENT '产品编号', |
| | | `productname` varchar(256) DEFAULT NULL COMMENT '产品名称', |
| | | `status` int(11) DEFAULT NULL COMMENT '状态', |
| | | `color` varchar(32) DEFAULT NULL COMMENT '颜色', |
| | | `size` varchar(32) DEFAULT NULL COMMENT '尺码', |
| | | `count` int(11) DEFAULT NULL COMMENT '数量', |
| | | `image` varchar(256) DEFAULT NULL COMMENT '产品图片', |
| | | `price` decimal(18,5) DEFAULT NULL COMMENT '产品原价', |
| | | `saleprice` decimal(18,5) DEFAULT NULL COMMENT '售价', |
| | | `rejectreason` varchar(1024) DEFAULT NULL COMMENT '拒绝理由', |
| | | `rejectcomment` varchar(1024) DEFAULT NULL COMMENT '拒绝注释', |
| | | `rejecttime` datetime DEFAULT NULL COMMENT '拒绝时间', |
| | | `payer` varchar(256) DEFAULT NULL COMMENT '支付人', |
| | | `payedmoney` decimal(18,5) DEFAULT NULL COMMENT '支付金额', |
| | | `discount` decimal(18,5) DEFAULT NULL COMMENT '折扣金额', |
| | | `payee` varchar(256) DEFAULT NULL COMMENT '收款人', |
| | | `orderno` varchar(128) DEFAULT NULL COMMENT '订单编号', |
| | | `orderid` varchar(64) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of order_history_product |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for order_receiver |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `order_receiver`; |
| | | CREATE TABLE `order_receiver` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `userid` varchar(64) DEFAULT NULL, |
| | | `code` varchar(128) DEFAULT NULL, |
| | | `name` varchar(128) DEFAULT NULL, |
| | | `contactno` varchar(64) DEFAULT NULL, |
| | | `country` varchar(64) DEFAULT NULL, |
| | | `province` varchar(64) DEFAULT NULL, |
| | | `city` varchar(64) DEFAULT NULL, |
| | | `region` varchar(128) DEFAULT NULL, |
| | | `receiveaddress` varchar(512) DEFAULT NULL, |
| | | `isoftenused` varchar(64) DEFAULT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of order_receiver |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for organization_class |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `organization_class`; |
| | | CREATE TABLE `organization_class` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `outerphone` varchar(32) DEFAULT NULL, |
| | | `innerphone` varchar(32) DEFAULT NULL, |
| | | `supervisor` varchar(64) DEFAULT NULL, |
| | | `supervisorassistant` varchar(64) DEFAULT NULL, |
| | | `fax` varchar(64) DEFAULT NULL, |
| | | `zipcode` varchar(32) DEFAULT NULL, |
| | | `address` varchar(256) DEFAULT NULL, |
| | | `parentid` varchar(64) DEFAULT NULL COMMENT 'parent id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `deplevel` int(3) DEFAULT NULL COMMENT 'department level', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `organizationid` varchar(64) DEFAULT NULL, |
| | | `organizationname` varchar(256) DEFAULT NULL, |
| | | `organizationcode` varchar(256) DEFAULT NULL, |
| | | `departmentid` varchar(64) DEFAULT NULL, |
| | | `departmentname` varchar(256) DEFAULT NULL, |
| | | `departmentcode` varchar(256) DEFAULT NULL, |
| | | `majorid` varchar(64) DEFAULT NULL, |
| | | `majorname` varchar(256) DEFAULT NULL, |
| | | `majorcode` varchar(256) DEFAULT NULL, |
| | | `gradeid` varchar(64) DEFAULT NULL, |
| | | `gradename` varchar(256) DEFAULT NULL, |
| | | `gradecode` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of organization_class |
| | | -- ---------------------------- |
| | | INSERT INTO `organization_class` VALUES ('1403c68e-b376-4c6b-84eb-46d90b74cc39', 'C001', '1', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:41:10', null, null, null, null, null, null, null, null, null, null, '094cef8e-7328-4ca8-8c36-889978bbdcdb', null, null); |
| | | INSERT INTO `organization_class` VALUES ('274665f9-3d76-4565-a50e-fe643f46a6a2', 'C005', '5', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:41:25', null, null, null, null, null, null, null, null, null, null, '094cef8e-7328-4ca8-8c36-889978bbdcdb', null, null); |
| | | INSERT INTO `organization_class` VALUES ('7662d6de-e6f6-4b00-8054-49dbb2b208aa', 'C004', '4', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:41:21', null, null, null, null, null, null, null, null, null, null, '094cef8e-7328-4ca8-8c36-889978bbdcdb', null, null); |
| | | INSERT INTO `organization_class` VALUES ('b5394e1b-7cdc-4757-bc4e-db0d8d13ee00', 'C003', '3', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:41:17', null, null, null, null, null, null, null, null, null, null, '094cef8e-7328-4ca8-8c36-889978bbdcdb', null, null); |
| | | INSERT INTO `organization_class` VALUES ('c5656c24-4377-4abb-8cf0-a5f77c06760c', 'C006', '6', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:41:29', null, null, null, null, null, null, null, null, null, null, '094cef8e-7328-4ca8-8c36-889978bbdcdb', null, null); |
| | | INSERT INTO `organization_class` VALUES ('daf060e0-b7a8-49b4-abb6-9e3a0173d9d1', 'C002', '2', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:41:14', null, null, null, null, null, null, null, null, null, null, '094cef8e-7328-4ca8-8c36-889978bbdcdb', null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for organization_department |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `organization_department`; |
| | | CREATE TABLE `organization_department` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `outerphone` varchar(32) DEFAULT NULL, |
| | | `innerphone` varchar(32) DEFAULT NULL, |
| | | `supervisor` varchar(64) DEFAULT NULL, |
| | | `supervisorassistant` varchar(64) DEFAULT NULL, |
| | | `fax` varchar(64) DEFAULT NULL, |
| | | `zipcode` varchar(32) DEFAULT NULL, |
| | | `address` varchar(256) DEFAULT NULL, |
| | | `parentid` varchar(64) DEFAULT NULL COMMENT 'parent id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `deplevel` int(3) DEFAULT NULL COMMENT 'department level', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `organizationid` varchar(64) DEFAULT NULL, |
| | | `organizationname` varchar(256) DEFAULT NULL, |
| | | `organizationcode` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of organization_department |
| | | -- ---------------------------- |
| | | INSERT INTO `organization_department` VALUES ('6b29043d-d224-48ff-9d17-ab652fd584f5', 'D005', '计算机学院', '', '', '', '', '', '', '', '', '0', null, '0', '', '2024-01-31 09:56:13', null, 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002'); |
| | | INSERT INTO `organization_department` VALUES ('90b99fb5-d9bf-4e16-928e-e4ab95595b72', 'D004', '商学院', '', '', '', '', '', '', '', '', '0', null, '0', '', '2024-01-31 09:56:04', null, 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002'); |
| | | INSERT INTO `organization_department` VALUES ('cfb8f51e-7988-4023-8dca-b5b3cd15c7a5', 'D002', '土木工程管理', null, null, null, null, null, null, null, null, '0', null, '0', '测试数据', '2024-01-18 11:29:48', '2024-01-22 16:43:47', 'cd738fee-5cae-4e2a-b057-32e2138f9bdb', '中南大学', 'A0005'); |
| | | INSERT INTO `organization_department` VALUES ('e27244bc-8240-4b12-bef2-003ded033148', 'D003', '工商管理学院', null, null, null, null, null, null, null, null, '0', null, '0', '测试数据', '2024-01-18 11:30:22', '2024-01-22 16:47:53', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for organization_grade |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `organization_grade`; |
| | | CREATE TABLE `organization_grade` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `outerphone` varchar(32) DEFAULT NULL, |
| | | `innerphone` varchar(32) DEFAULT NULL, |
| | | `supervisor` varchar(64) DEFAULT NULL, |
| | | `supervisorassistant` varchar(64) DEFAULT NULL, |
| | | `fax` varchar(64) DEFAULT NULL, |
| | | `zipcode` varchar(32) DEFAULT NULL, |
| | | `address` varchar(256) DEFAULT NULL, |
| | | `parentid` varchar(64) DEFAULT NULL COMMENT 'parent id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `deplevel` int(3) DEFAULT NULL COMMENT 'department level', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `organizationid` varchar(64) DEFAULT NULL, |
| | | `organizationname` varchar(256) DEFAULT NULL, |
| | | `organizationcode` varchar(256) DEFAULT NULL, |
| | | `departmentid` varchar(64) DEFAULT NULL, |
| | | `departmentname` varchar(256) DEFAULT NULL, |
| | | `departmentcode` varchar(256) DEFAULT NULL, |
| | | `majorid` varchar(64) DEFAULT NULL, |
| | | `majorname` varchar(256) DEFAULT NULL, |
| | | `majorcode` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of organization_grade |
| | | -- ---------------------------- |
| | | INSERT INTO `organization_grade` VALUES ('094cef8e-7328-4ca8-8c36-889978bbdcdb', 'G001', '一年级', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:39:53', '2024-01-22 18:28:43', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003', '9ead598e-4faf-49e1-9863-165c766631ed', '工商管理', 'M003'); |
| | | INSERT INTO `organization_grade` VALUES ('13d2cbb0-6aaf-41dd-ba44-18650e3268b7', 'G009', '一年级', '', '', '', '', '', '', '', '', '0', null, '0', '', '2024-01-27 15:20:22', null, 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003', '5b718983-9508-40f4-aeba-22aad1b55e47', '电子信息与科学', 'M007'); |
| | | INSERT INTO `organization_grade` VALUES ('1e1e0815-0575-465f-be30-4b445cf2dc30', 'G003', '三年级', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:40:07', '2024-01-22 18:28:50', '1df5035a-d251-4d19-9045-59a377c123fc', '哈佛大学', 'B0001', '', '', '', '', '', ''); |
| | | INSERT INTO `organization_grade` VALUES ('7af84337-44b5-4132-8e62-117b5bdf8014', 'G008', '二年级', '', '', '', '', '', '', '', '', '0', null, '0', '', '2024-01-27 15:20:07', '2024-01-27 15:20:37', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003', '5b718983-9508-40f4-aeba-22aad1b55e47', '电子信息与科学', 'M007'); |
| | | INSERT INTO `organization_grade` VALUES ('89252e80-1fab-431d-bc92-c9e7418a36b6', 'G005', '五年级', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:40:25', '2024-01-22 18:27:17', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003', '1edb42fc-a10b-4f39-a2bc-6c2bcb276547', '土木工程', 'M002'); |
| | | INSERT INTO `organization_grade` VALUES ('93aeebf0-7e96-4c82-b4c3-fe61e0e741c4', 'G002', '二年级', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:40:01', '2024-01-22 18:29:00', '59299abc-06ca-48f2-b026-4638ced717b4', '清华大学', 'A0002', '', '', '', '', '', ''); |
| | | INSERT INTO `organization_grade` VALUES ('93bd9f0e-b05c-454d-8dcb-758a35ad804f', 'G006', '六年级', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:40:32', '2024-01-22 18:25:42', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003', '9ead598e-4faf-49e1-9863-165c766631ed', '工商管理', 'M003'); |
| | | INSERT INTO `organization_grade` VALUES ('b302d31a-82fe-44d1-bb11-fd9b487d579c', 'G007', '三年级', '', '', '', '', '', '', '', '', '0', null, '0', '', '2024-01-27 15:15:23', '2024-01-27 15:21:36', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003', '5b718983-9508-40f4-aeba-22aad1b55e47', '电子信息与科学', 'M007'); |
| | | INSERT INTO `organization_grade` VALUES ('f5160257-9dc3-41e4-818e-5fff2f1dab5f', 'G004', '四年级', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-08 22:40:17', '2024-01-22 18:27:34', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003', '8e4c4549-760a-44f2-b730-3131f6cc5645', '软件工程', 'M001'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for organization_major |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `organization_major`; |
| | | CREATE TABLE `organization_major` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `parentid` varchar(64) DEFAULT NULL COMMENT 'parent id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `organizationid` varchar(64) DEFAULT NULL, |
| | | `organizationname` varchar(256) DEFAULT NULL, |
| | | `organizationcode` varchar(256) DEFAULT NULL, |
| | | `departmentid` varchar(64) DEFAULT NULL, |
| | | `departmentname` varchar(256) DEFAULT NULL, |
| | | `departmentcode` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of organization_major |
| | | -- ---------------------------- |
| | | INSERT INTO `organization_major` VALUES ('03f1eb77-9638-4c6d-b554-f37b43435945', 'M005', '环境工程', '', '0', '0', '', '2024-01-22 16:44:54', null, 'cd738fee-5cae-4e2a-b057-32e2138f9bdb', '中南大学', 'A0005', 'cfb8f51e-7988-4023-8dca-b5b3cd15c7a5', '土木工程管理', 'D002'); |
| | | INSERT INTO `organization_major` VALUES ('1edb42fc-a10b-4f39-a2bc-6c2bcb276547', 'M002', '土木工程', null, '0', '0', '', '2024-01-08 22:39:09', '2024-01-22 16:42:17', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003'); |
| | | INSERT INTO `organization_major` VALUES ('2511b9d5-72ca-4c9a-a3a4-1540acd90b69', 'M004', '电气工程', null, '0', '0', '测试数据', '2024-01-08 22:39:33', '2024-01-22 16:44:03', '1df5035a-d251-4d19-9045-59a377c123fc', '哈佛大学', 'B0001', 'cfb8f51e-7988-4023-8dca-b5b3cd15c7a5', '土木工程管理', 'D002'); |
| | | INSERT INTO `organization_major` VALUES ('3e2224bb-3e5f-4556-aea1-6f1a5e4239b5', 'M006', 'A', '', '0', '0', '', '2024-01-22 17:52:53', '2024-01-22 17:53:02', '276be9b7-6737-47b0-9d68-caf3e4c3dadd', '复旦大学', 'A0003', '', '', ''); |
| | | INSERT INTO `organization_major` VALUES ('5b718983-9508-40f4-aeba-22aad1b55e47', 'M007', '电子信息与科学', '', '0', '0', '', '2024-01-27 15:15:07', null, 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003'); |
| | | INSERT INTO `organization_major` VALUES ('8e4c4549-760a-44f2-b730-3131f6cc5645', 'M001', '软件工程', null, '0', '0', '', '2024-01-08 22:39:01', '2024-01-22 16:42:25', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003'); |
| | | INSERT INTO `organization_major` VALUES ('9ead598e-4faf-49e1-9863-165c766631ed', 'M003', '工商管理', null, '0', '0', '', '2024-01-08 22:39:19', '2024-01-22 16:42:06', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for organization_master |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `organization_master`; |
| | | CREATE TABLE `organization_master` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `outerphone` varchar(32) DEFAULT NULL, |
| | | `innerphone` varchar(32) DEFAULT NULL, |
| | | `supervisor` varchar(64) DEFAULT NULL, |
| | | `supervisorassistant` varchar(64) DEFAULT NULL, |
| | | `fax` varchar(64) DEFAULT NULL, |
| | | `zipcode` varchar(32) DEFAULT NULL, |
| | | `address` varchar(256) DEFAULT NULL, |
| | | `parentid` varchar(64) DEFAULT NULL COMMENT 'parent id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `deplevel` int(3) DEFAULT NULL COMMENT 'department level', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of organization_master |
| | | -- ---------------------------- |
| | | INSERT INTO `organization_master` VALUES ('1df5035a-d251-4d19-9045-59a377c123fc', 'B0001', '哈佛大学', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-06 16:13:25', null); |
| | | INSERT INTO `organization_master` VALUES ('276be9b7-6737-47b0-9d68-caf3e4c3dadd', 'A0003', '复旦大学', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-06 16:12:05', null); |
| | | INSERT INTO `organization_master` VALUES ('59299abc-06ca-48f2-b026-4638ced717b4', 'A0002', '清华大学', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-06 16:11:47', '2024-01-06 16:12:10'); |
| | | INSERT INTO `organization_master` VALUES ('cd738fee-5cae-4e2a-b057-32e2138f9bdb', 'A0005', '中南大学', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-06 16:13:07', null); |
| | | INSERT INTO `organization_master` VALUES ('e704a3f2-c4b6-4a76-b0fe-d7d8f8b031f5', 'A0004', '上海交通大学', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-06 16:12:29', null); |
| | | INSERT INTO `organization_master` VALUES ('fd41d4da-042a-41ed-943b-f8917251e227', 'A0001', '北京大学', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-06 16:09:56', null); |
| | | INSERT INTO `organization_master` VALUES ('fd53196d-a456-4801-a524-bbed67104056', 'B0002', '麻省理工大学', null, null, null, null, null, null, null, null, '0', null, '0', '', '2024-01-06 16:13:39', null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for product_attribute_key |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `product_attribute_key`; |
| | | CREATE TABLE `product_attribute_key` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(256) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of product_attribute_key |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for product_attribute_value |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `product_attribute_value`; |
| | | CREATE TABLE `product_attribute_value` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `value` varchar(256) DEFAULT NULL, |
| | | `attribute_id` varchar(256) DEFAULT NULL, |
| | | `attribute_name` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | `productid` varchar(64) DEFAULT NULL, |
| | | `productcode` varchar(128) DEFAULT NULL, |
| | | `productname` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of product_attribute_value |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for product_brand |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `product_brand`; |
| | | CREATE TABLE `product_brand` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(10) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(256) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | `website` varchar(256) DEFAULT NULL, |
| | | `logoimage` varchar(256) DEFAULT NULL, |
| | | `description` text, |
| | | `foundedyear` date DEFAULT NULL, |
| | | `countryoforigin` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of product_brand |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for product_category |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `product_category`; |
| | | CREATE TABLE `product_category` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `parentid` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of product_category |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for product_master |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `product_master`; |
| | | CREATE TABLE `product_master` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(10) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(256) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | `formation` varchar(1024) DEFAULT NULL COMMENT '相关信息', |
| | | `buyprice` varchar(256) DEFAULT NULL COMMENT '进货价', |
| | | `sellprice` varchar(128) DEFAULT NULL COMMENT '卖价', |
| | | `provider` varchar(128) DEFAULT NULL COMMENT '供应商', |
| | | `discount` varchar(128) DEFAULT NULL COMMENT '优惠价', |
| | | `keyword` varchar(128) DEFAULT NULL, |
| | | `count` varchar(1027) DEFAULT NULL COMMENT '数量', |
| | | `image` varchar(256) DEFAULT NULL COMMENT '图片', |
| | | `size` varchar(128) DEFAULT NULL COMMENT '尺码', |
| | | `color` varchar(128) DEFAULT NULL COMMENT '颜色', |
| | | `specifications` text, |
| | | `categoryid` varchar(64) DEFAULT NULL, |
| | | `categoryname` varchar(256) DEFAULT NULL, |
| | | `brandid` varchar(64) DEFAULT NULL, |
| | | `brandname` varchar(256) DEFAULT NULL, |
| | | `brandcode` varchar(256) DEFAULT NULL, |
| | | `model` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of product_master |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for product_supplier |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `product_supplier`; |
| | | CREATE TABLE `product_supplier` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(10) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(256) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | `logo` varchar(256) DEFAULT NULL, |
| | | `description` text, |
| | | `contactor` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL, |
| | | `contactortitle` varchar(64) CHARACTER SET utf8mb4 DEFAULT NULL, |
| | | `telphone` varchar(128) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '负责人', |
| | | `cellphone` varchar(128) DEFAULT NULL, |
| | | `website` varchar(256) CHARACTER SET utf8mb4 DEFAULT NULL, |
| | | `email` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL, |
| | | `fax` varchar(255) DEFAULT NULL, |
| | | `tax` varchar(256) DEFAULT NULL, |
| | | `companyaddress` varchar(512) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '省市区', |
| | | `registrationaddress` varchar(512) DEFAULT NULL, |
| | | `businessscope` varchar(1024) DEFAULT NULL, |
| | | `bankname` varchar(256) DEFAULT NULL, |
| | | `bankaccount` varchar(256) DEFAULT NULL, |
| | | `creditrating` varchar(256) DEFAULT NULL, |
| | | `registrationcapital` decimal(18,5) DEFAULT NULL, |
| | | `establishmentdate` datetime DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of product_supplier |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_category |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_category`; |
| | | CREATE TABLE `question_category` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `parentid` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `status` int(11) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_category |
| | | -- ---------------------------- |
| | | INSERT INTO `question_category` VALUES ('133aaba2-5403-4f46-817c-855908070623', null, '多选题', '0', '', '2024-01-06 15:45:43', null, '0'); |
| | | INSERT INTO `question_category` VALUES ('249cd5ed-4033-435e-ab3d-cff8fc1cab30', null, '判断题', '0', '', '2024-01-06 15:47:01', null, '0'); |
| | | INSERT INTO `question_category` VALUES ('4a7ae831-8bf0-4210-a324-a6d78939f858', null, '论述题', '0', '', '2024-01-06 15:47:16', null, '0'); |
| | | INSERT INTO `question_category` VALUES ('5bd96dfb-0e85-4b03-87d9-cfd131b58580', null, '填空题', '0', '', '2024-01-06 15:46:37', null, '0'); |
| | | INSERT INTO `question_category` VALUES ('808518fa-aa04-4f05-9556-79117197c6a4', null, '单选题', '0', '', '2024-01-06 15:45:16', null, '0'); |
| | | INSERT INTO `question_category` VALUES ('9fb78cc5-b7f6-415d-8401-034efa8b17ea', null, '简答题', '0', '', '2024-01-06 15:47:08', null, '0'); |
| | | INSERT INTO `question_category` VALUES ('a5a92cdc-0299-4dbc-9fe1-4a54ba8eda50', null, '案例分析题', '0', '', '2024-01-06 15:47:41', null, '0'); |
| | | INSERT INTO `question_category` VALUES ('aa71363b-145f-4d2f-b733-ebcabfa30e73', null, '分析题', '0', '', '2024-01-06 15:47:23', null, '0'); |
| | | INSERT INTO `question_category` VALUES ('b77502b7-67c0-470d-8d2f-966285ac7734', null, '案例选择题', '0', '', '2024-01-06 15:47:32', null, '0'); |
| | | INSERT INTO `question_category` VALUES ('b79c879b-f1ac-4118-93d8-f2f8a118fa5f', null, '名词解释', '0', '', '2024-01-06 15:46:53', null, '0'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_master |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_master`; |
| | | CREATE TABLE `question_master` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `subjectid` varchar(64) DEFAULT NULL, |
| | | `subjectname` varchar(256) DEFAULT NULL, |
| | | `subjectcode` varchar(256) DEFAULT NULL, |
| | | `paperid` varchar(64) DEFAULT NULL, |
| | | `papername` varchar(256) DEFAULT NULL, |
| | | `papercode` varchar(256) DEFAULT NULL, |
| | | `categoryid` varchar(64) DEFAULT NULL, |
| | | `categoryname` varchar(256) DEFAULT NULL, |
| | | `stem` text, |
| | | `answer` text, |
| | | `casebody` text, |
| | | `analysis` text, |
| | | `level` int(10) DEFAULT NULL, |
| | | `score` decimal(18,5) DEFAULT NULL, |
| | | `optiona` varchar(256) DEFAULT NULL, |
| | | `optionb` varchar(256) DEFAULT NULL, |
| | | `optionc` varchar(256) DEFAULT NULL, |
| | | `optiond` varchar(256) DEFAULT NULL, |
| | | `optione` varchar(256) DEFAULT NULL, |
| | | `optionf` varchar(256) DEFAULT NULL, |
| | | `optiong` varchar(256) DEFAULT NULL, |
| | | `optionh` varchar(256) DEFAULT NULL, |
| | | `knowledgepointid` varchar(64) DEFAULT NULL, |
| | | `knowledgepointname` varchar(256) DEFAULT NULL, |
| | | `knowledgepointcode` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_master |
| | | -- ---------------------------- |
| | | INSERT INTO `question_master` VALUES ('03891fb4-0ec8-4d2c-8822-187879a778bc', '0', '0', '', '2024-02-02 14:31:00', '2024-02-02 16:51:15', 'Q0000006', '单选1', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第一题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>B</p>', null, '<p>xxxadwawdawd</p>', '0', null, '', '', '', '', '', '', '', '', null, null, null); |
| | | INSERT INTO `question_master` VALUES ('56e600e5-b44d-49de-9795-14344351ddfb', '0', '0', '', '2024-01-08 22:38:27', '2024-01-26 11:28:17', 'Q0000005', '0555', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '4a7ae831-8bf0-4210-a324-a6d78939f858', '论述题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"{\\textstyle \\sum_{a}^{b}}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '4', '10.00000', null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master` VALUES ('586159ee-938f-4a08-a16e-1dd569598eb2', '0', '0', '', '2024-02-02 14:31:37', '2024-02-06 18:16:58', 'Q0000007', '单选2', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第二题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>A</p>', null, '<p>d4w5a6d4564</p>', '3', '1.00000', '', '', '', '', '', '', '', '', 'f3c11f2c-a78f-4713-9da4-1597684a092d', '动量', null); |
| | | INSERT INTO `question_master` VALUES ('81fe2e08-804b-454d-8143-f270cb2914f4', '0', '0', '', '2024-01-08 22:38:14', '2024-01-26 11:08:09', 'Q0000003', '0333', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><br></p>', '<p><span style=\"color: rgb(51, 51, 51); background-color: rgb(248, 249, 249); font-size: 14px;\">C</span></p>', null, '<p><br></p>', null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master` VALUES ('88c74aef-f20b-4b09-b356-481a43ceec61', '0', '0', '', '2024-01-08 22:38:05', '2024-01-26 10:43:56', 'Q0000002', '0222', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '0', null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master` VALUES ('b5b0ba85-7471-4eb8-aedd-add3856887c7', '0', '0', '', '2024-01-08 22:37:59', '2024-01-22 18:54:37', 'Q0000001', '0111', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '133aaba2-5403-4f46-817c-855908070623', '多选题', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master` VALUES ('fd154665-c484-4842-a487-931063a844b0', '0', '0', '', '2024-01-08 22:38:21', '2024-01-22 18:54:43', 'Q0000004', '0444', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '5bd96dfb-0e85-4b03-87d9-cfd131b58580', '填空题', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_master_blank_filling |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_master_blank_filling`; |
| | | CREATE TABLE `question_master_blank_filling` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `subjectid` varchar(64) DEFAULT NULL, |
| | | `subjectname` varchar(256) DEFAULT NULL, |
| | | `subjectcode` varchar(256) DEFAULT NULL, |
| | | `paperid` varchar(64) DEFAULT NULL, |
| | | `papername` varchar(256) DEFAULT NULL, |
| | | `papercode` varchar(256) DEFAULT NULL, |
| | | `categoryid` varchar(64) DEFAULT NULL, |
| | | `categoryname` varchar(256) DEFAULT NULL, |
| | | `stem` text, |
| | | `answer` text, |
| | | `casebody` text, |
| | | `analysis` text, |
| | | `level` int(10) DEFAULT NULL, |
| | | `score` decimal(18,5) DEFAULT NULL, |
| | | `optiona` varchar(256) DEFAULT NULL, |
| | | `optionb` varchar(256) DEFAULT NULL, |
| | | `optionc` varchar(256) DEFAULT NULL, |
| | | `optiond` varchar(256) DEFAULT NULL, |
| | | `optione` varchar(256) DEFAULT NULL, |
| | | `optionf` varchar(256) DEFAULT NULL, |
| | | `optiong` varchar(256) DEFAULT NULL, |
| | | `optionh` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_master_blank_filling |
| | | -- ---------------------------- |
| | | INSERT INTO `question_master_blank_filling` VALUES ('03891fb4-0ec8-4d2c-8822-187879a778bc', '0', '0', '', '2024-02-02 14:31:00', '2024-02-02 16:51:15', 'Q0000006', '单选1', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第一题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>B</p>', null, '<p>xxxadwawdawd</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_blank_filling` VALUES ('56e600e5-b44d-49de-9795-14344351ddfb', '0', '0', '', '2024-01-08 22:38:27', '2024-01-26 11:28:17', 'Q0000005', '0555', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '4a7ae831-8bf0-4210-a324-a6d78939f858', '论述题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"{\\textstyle \\sum_{a}^{b}}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '4', '10.00000', null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_blank_filling` VALUES ('586159ee-938f-4a08-a16e-1dd569598eb2', '0', '0', '', '2024-02-02 14:31:37', '2024-02-02 16:51:03', 'Q0000007', '单选2', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第二题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>A</p>', null, '<p>d4w5a6d4564</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_blank_filling` VALUES ('81fe2e08-804b-454d-8143-f270cb2914f4', '0', '0', '', '2024-01-08 22:38:14', '2024-01-26 11:08:09', 'Q0000003', '0333', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><br></p>', '<p><span style=\"color: rgb(51, 51, 51); background-color: rgb(248, 249, 249); font-size: 14px;\">C</span></p>', null, '<p><br></p>', null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_blank_filling` VALUES ('88c74aef-f20b-4b09-b356-481a43ceec61', '0', '0', '', '2024-01-08 22:38:05', '2024-01-26 10:43:56', 'Q0000002', '0222', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '0', null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_blank_filling` VALUES ('b5b0ba85-7471-4eb8-aedd-add3856887c7', '0', '0', '', '2024-01-08 22:37:59', '2024-01-22 18:54:37', 'Q0000001', '0111', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '133aaba2-5403-4f46-817c-855908070623', '多选题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_blank_filling` VALUES ('fd154665-c484-4842-a487-931063a844b0', '0', '0', '', '2024-01-08 22:38:21', '2024-01-22 18:54:43', 'Q0000004', '0444', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '5bd96dfb-0e85-4b03-87d9-cfd131b58580', '填空题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_master_case_analysis |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_master_case_analysis`; |
| | | CREATE TABLE `question_master_case_analysis` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `subjectid` varchar(64) DEFAULT NULL, |
| | | `subjectname` varchar(256) DEFAULT NULL, |
| | | `subjectcode` varchar(256) DEFAULT NULL, |
| | | `paperid` varchar(64) DEFAULT NULL, |
| | | `papername` varchar(256) DEFAULT NULL, |
| | | `papercode` varchar(256) DEFAULT NULL, |
| | | `categoryid` varchar(64) DEFAULT NULL, |
| | | `categoryname` varchar(256) DEFAULT NULL, |
| | | `stem` text, |
| | | `answer` text, |
| | | `casebody` text, |
| | | `analysis` text, |
| | | `level` int(10) DEFAULT NULL, |
| | | `score` decimal(18,5) DEFAULT NULL, |
| | | `optiona` varchar(256) DEFAULT NULL, |
| | | `optionb` varchar(256) DEFAULT NULL, |
| | | `optionc` varchar(256) DEFAULT NULL, |
| | | `optiond` varchar(256) DEFAULT NULL, |
| | | `optione` varchar(256) DEFAULT NULL, |
| | | `optionf` varchar(256) DEFAULT NULL, |
| | | `optiong` varchar(256) DEFAULT NULL, |
| | | `optionh` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_master_case_analysis |
| | | -- ---------------------------- |
| | | INSERT INTO `question_master_case_analysis` VALUES ('03891fb4-0ec8-4d2c-8822-187879a778bc', '0', '0', '', '2024-02-02 14:31:00', '2024-02-02 16:51:15', 'Q0000006', '单选1', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第一题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>B</p>', null, '<p>xxxadwawdawd</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_case_analysis` VALUES ('56e600e5-b44d-49de-9795-14344351ddfb', '0', '0', '', '2024-01-08 22:38:27', '2024-01-26 11:28:17', 'Q0000005', '0555', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '4a7ae831-8bf0-4210-a324-a6d78939f858', '论述题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"{\\textstyle \\sum_{a}^{b}}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '4', '10.00000', null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_case_analysis` VALUES ('586159ee-938f-4a08-a16e-1dd569598eb2', '0', '0', '', '2024-02-02 14:31:37', '2024-02-02 16:51:03', 'Q0000007', '单选2', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第二题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>A</p>', null, '<p>d4w5a6d4564</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_case_analysis` VALUES ('81fe2e08-804b-454d-8143-f270cb2914f4', '0', '0', '', '2024-01-08 22:38:14', '2024-01-26 11:08:09', 'Q0000003', '0333', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><br></p>', '<p><span style=\"color: rgb(51, 51, 51); background-color: rgb(248, 249, 249); font-size: 14px;\">C</span></p>', null, '<p><br></p>', null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_case_analysis` VALUES ('88c74aef-f20b-4b09-b356-481a43ceec61', '0', '0', '', '2024-01-08 22:38:05', '2024-01-26 10:43:56', 'Q0000002', '0222', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '0', null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_case_analysis` VALUES ('b5b0ba85-7471-4eb8-aedd-add3856887c7', '0', '0', '', '2024-01-08 22:37:59', '2024-01-22 18:54:37', 'Q0000001', '0111', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '133aaba2-5403-4f46-817c-855908070623', '多选题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_case_analysis` VALUES ('fd154665-c484-4842-a487-931063a844b0', '0', '0', '', '2024-01-08 22:38:21', '2024-01-22 18:54:43', 'Q0000004', '0444', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '5bd96dfb-0e85-4b03-87d9-cfd131b58580', '填空题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_master_choice |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_master_choice`; |
| | | CREATE TABLE `question_master_choice` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `subjectid` varchar(64) DEFAULT NULL, |
| | | `subjectname` varchar(256) DEFAULT NULL, |
| | | `subjectcode` varchar(256) DEFAULT NULL, |
| | | `paperid` varchar(64) DEFAULT NULL, |
| | | `papername` varchar(256) DEFAULT NULL, |
| | | `papercode` varchar(256) DEFAULT NULL, |
| | | `categoryid` varchar(64) DEFAULT NULL, |
| | | `categoryname` varchar(256) DEFAULT NULL, |
| | | `stem` text, |
| | | `answer` text, |
| | | `casebody` text, |
| | | `analysis` text, |
| | | `level` int(10) DEFAULT NULL, |
| | | `score` decimal(18,5) DEFAULT NULL, |
| | | `optiona` varchar(256) DEFAULT NULL, |
| | | `optionb` varchar(256) DEFAULT NULL, |
| | | `optionc` varchar(256) DEFAULT NULL, |
| | | `optiond` varchar(256) DEFAULT NULL, |
| | | `optione` varchar(256) DEFAULT NULL, |
| | | `optionf` varchar(256) DEFAULT NULL, |
| | | `optiong` varchar(256) DEFAULT NULL, |
| | | `optionh` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_master_choice |
| | | -- ---------------------------- |
| | | INSERT INTO `question_master_choice` VALUES ('03891fb4-0ec8-4d2c-8822-187879a778bc', '0', '0', '', '2024-02-02 14:31:00', '2024-02-02 16:51:15', 'Q0000006', '单选1', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第一题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>B</p>', null, '<p>xxxadwawdawd</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_choice` VALUES ('56e600e5-b44d-49de-9795-14344351ddfb', '0', '0', '', '2024-01-08 22:38:27', '2024-01-26 11:28:17', 'Q0000005', '0555', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '4a7ae831-8bf0-4210-a324-a6d78939f858', '论述题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"{\\textstyle \\sum_{a}^{b}}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '4', '10.00000', null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_choice` VALUES ('586159ee-938f-4a08-a16e-1dd569598eb2', '0', '0', '', '2024-02-02 14:31:37', '2024-02-02 16:51:03', 'Q0000007', '单选2', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第二题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>A</p>', null, '<p>d4w5a6d4564</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_choice` VALUES ('81fe2e08-804b-454d-8143-f270cb2914f4', '0', '0', '', '2024-01-08 22:38:14', '2024-01-26 11:08:09', 'Q0000003', '0333', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><br></p>', '<p><span style=\"color: rgb(51, 51, 51); background-color: rgb(248, 249, 249); font-size: 14px;\">C</span></p>', null, '<p><br></p>', null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_choice` VALUES ('88c74aef-f20b-4b09-b356-481a43ceec61', '0', '0', '', '2024-01-08 22:38:05', '2024-01-26 10:43:56', 'Q0000002', '0222', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '0', null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_choice` VALUES ('b5b0ba85-7471-4eb8-aedd-add3856887c7', '0', '0', '', '2024-01-08 22:37:59', '2024-01-22 18:54:37', 'Q0000001', '0111', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '133aaba2-5403-4f46-817c-855908070623', '多选题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_choice` VALUES ('fd154665-c484-4842-a487-931063a844b0', '0', '0', '', '2024-01-08 22:38:21', '2024-01-22 18:54:43', 'Q0000004', '0444', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '5bd96dfb-0e85-4b03-87d9-cfd131b58580', '填空题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_master_choice_multiple |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_master_choice_multiple`; |
| | | CREATE TABLE `question_master_choice_multiple` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `subjectid` varchar(64) DEFAULT NULL, |
| | | `subjectname` varchar(256) DEFAULT NULL, |
| | | `subjectcode` varchar(256) DEFAULT NULL, |
| | | `paperid` varchar(64) DEFAULT NULL, |
| | | `papername` varchar(256) DEFAULT NULL, |
| | | `papercode` varchar(256) DEFAULT NULL, |
| | | `categoryid` varchar(64) DEFAULT NULL, |
| | | `categoryname` varchar(256) DEFAULT NULL, |
| | | `stem` text, |
| | | `answer` text, |
| | | `casebody` text, |
| | | `analysis` text, |
| | | `level` int(10) DEFAULT NULL, |
| | | `score` decimal(18,5) DEFAULT NULL, |
| | | `optiona` varchar(256) DEFAULT NULL, |
| | | `optionb` varchar(256) DEFAULT NULL, |
| | | `optionc` varchar(256) DEFAULT NULL, |
| | | `optiond` varchar(256) DEFAULT NULL, |
| | | `optione` varchar(256) DEFAULT NULL, |
| | | `optionf` varchar(256) DEFAULT NULL, |
| | | `optiong` varchar(256) DEFAULT NULL, |
| | | `optionh` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_master_choice_multiple |
| | | -- ---------------------------- |
| | | INSERT INTO `question_master_choice_multiple` VALUES ('03891fb4-0ec8-4d2c-8822-187879a778bc', '0', '0', '', '2024-02-02 14:31:00', '2024-02-02 16:51:15', 'Q0000006', '单选1', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第一题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>B</p>', null, '<p>xxxadwawdawd</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_choice_multiple` VALUES ('56e600e5-b44d-49de-9795-14344351ddfb', '0', '0', '', '2024-01-08 22:38:27', '2024-01-26 11:28:17', 'Q0000005', '0555', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '4a7ae831-8bf0-4210-a324-a6d78939f858', '论述题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"{\\textstyle \\sum_{a}^{b}}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '4', '10.00000', null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_choice_multiple` VALUES ('586159ee-938f-4a08-a16e-1dd569598eb2', '0', '0', '', '2024-02-02 14:31:37', '2024-02-02 16:51:03', 'Q0000007', '单选2', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第二题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>A</p>', null, '<p>d4w5a6d4564</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_choice_multiple` VALUES ('81fe2e08-804b-454d-8143-f270cb2914f4', '0', '0', '', '2024-01-08 22:38:14', '2024-01-26 11:08:09', 'Q0000003', '0333', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><br></p>', '<p><span style=\"color: rgb(51, 51, 51); background-color: rgb(248, 249, 249); font-size: 14px;\">C</span></p>', null, '<p><br></p>', null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_choice_multiple` VALUES ('88c74aef-f20b-4b09-b356-481a43ceec61', '0', '0', '', '2024-01-08 22:38:05', '2024-01-26 10:43:56', 'Q0000002', '0222', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '0', null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_choice_multiple` VALUES ('b5b0ba85-7471-4eb8-aedd-add3856887c7', '0', '0', '', '2024-01-08 22:37:59', '2024-01-22 18:54:37', 'Q0000001', '0111', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '133aaba2-5403-4f46-817c-855908070623', '多选题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_choice_multiple` VALUES ('fd154665-c484-4842-a487-931063a844b0', '0', '0', '', '2024-01-08 22:38:21', '2024-01-22 18:54:43', 'Q0000004', '0444', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '5bd96dfb-0e85-4b03-87d9-cfd131b58580', '填空题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_master_judge |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_master_judge`; |
| | | CREATE TABLE `question_master_judge` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `subjectid` varchar(64) DEFAULT NULL, |
| | | `subjectname` varchar(256) DEFAULT NULL, |
| | | `subjectcode` varchar(256) DEFAULT NULL, |
| | | `paperid` varchar(64) DEFAULT NULL, |
| | | `papername` varchar(256) DEFAULT NULL, |
| | | `papercode` varchar(256) DEFAULT NULL, |
| | | `categoryid` varchar(64) DEFAULT NULL, |
| | | `categoryname` varchar(256) DEFAULT NULL, |
| | | `stem` text, |
| | | `answer` text, |
| | | `casebody` text, |
| | | `analysis` text, |
| | | `level` int(10) DEFAULT NULL, |
| | | `score` decimal(18,5) DEFAULT NULL, |
| | | `optiona` varchar(256) DEFAULT NULL, |
| | | `optionb` varchar(256) DEFAULT NULL, |
| | | `optionc` varchar(256) DEFAULT NULL, |
| | | `optiond` varchar(256) DEFAULT NULL, |
| | | `optione` varchar(256) DEFAULT NULL, |
| | | `optionf` varchar(256) DEFAULT NULL, |
| | | `optiong` varchar(256) DEFAULT NULL, |
| | | `optionh` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_master_judge |
| | | -- ---------------------------- |
| | | INSERT INTO `question_master_judge` VALUES ('03891fb4-0ec8-4d2c-8822-187879a778bc', '0', '0', '', '2024-02-02 14:31:00', '2024-02-02 16:51:15', 'Q0000006', '单选1', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第一题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>B</p>', null, '<p>xxxadwawdawd</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_judge` VALUES ('56e600e5-b44d-49de-9795-14344351ddfb', '0', '0', '', '2024-01-08 22:38:27', '2024-01-26 11:28:17', 'Q0000005', '0555', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '4a7ae831-8bf0-4210-a324-a6d78939f858', '论述题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"{\\textstyle \\sum_{a}^{b}}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '4', '10.00000', null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_judge` VALUES ('586159ee-938f-4a08-a16e-1dd569598eb2', '0', '0', '', '2024-02-02 14:31:37', '2024-02-02 16:51:03', 'Q0000007', '单选2', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第二题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>A</p>', null, '<p>d4w5a6d4564</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_judge` VALUES ('81fe2e08-804b-454d-8143-f270cb2914f4', '0', '0', '', '2024-01-08 22:38:14', '2024-01-26 11:08:09', 'Q0000003', '0333', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><br></p>', '<p><span style=\"color: rgb(51, 51, 51); background-color: rgb(248, 249, 249); font-size: 14px;\">C</span></p>', null, '<p><br></p>', null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_judge` VALUES ('88c74aef-f20b-4b09-b356-481a43ceec61', '0', '0', '', '2024-01-08 22:38:05', '2024-01-26 10:43:56', 'Q0000002', '0222', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '0', null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_judge` VALUES ('b5b0ba85-7471-4eb8-aedd-add3856887c7', '0', '0', '', '2024-01-08 22:37:59', '2024-01-22 18:54:37', 'Q0000001', '0111', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '133aaba2-5403-4f46-817c-855908070623', '多选题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_judge` VALUES ('fd154665-c484-4842-a487-931063a844b0', '0', '0', '', '2024-01-08 22:38:21', '2024-01-22 18:54:43', 'Q0000004', '0444', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '5bd96dfb-0e85-4b03-87d9-cfd131b58580', '填空题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_master_translate |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_master_translate`; |
| | | CREATE TABLE `question_master_translate` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `subjectid` varchar(64) DEFAULT NULL, |
| | | `subjectname` varchar(256) DEFAULT NULL, |
| | | `subjectcode` varchar(256) DEFAULT NULL, |
| | | `paperid` varchar(64) DEFAULT NULL, |
| | | `papername` varchar(256) DEFAULT NULL, |
| | | `papercode` varchar(256) DEFAULT NULL, |
| | | `categoryid` varchar(64) DEFAULT NULL, |
| | | `categoryname` varchar(256) DEFAULT NULL, |
| | | `stem` text, |
| | | `answer` text, |
| | | `casebody` text, |
| | | `analysis` text, |
| | | `level` int(10) DEFAULT NULL, |
| | | `score` decimal(18,5) DEFAULT NULL, |
| | | `optiona` varchar(256) DEFAULT NULL, |
| | | `optionb` varchar(256) DEFAULT NULL, |
| | | `optionc` varchar(256) DEFAULT NULL, |
| | | `optiond` varchar(256) DEFAULT NULL, |
| | | `optione` varchar(256) DEFAULT NULL, |
| | | `optionf` varchar(256) DEFAULT NULL, |
| | | `optiong` varchar(256) DEFAULT NULL, |
| | | `optionh` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_master_translate |
| | | -- ---------------------------- |
| | | INSERT INTO `question_master_translate` VALUES ('03891fb4-0ec8-4d2c-8822-187879a778bc', '0', '0', '', '2024-02-02 14:31:00', '2024-02-02 16:51:15', 'Q0000006', '单选1', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第一题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>B</p>', null, '<p>xxxadwawdawd</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_translate` VALUES ('56e600e5-b44d-49de-9795-14344351ddfb', '0', '0', '', '2024-01-08 22:38:27', '2024-01-26 11:28:17', 'Q0000005', '0555', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '4a7ae831-8bf0-4210-a324-a6d78939f858', '论述题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"{\\textstyle \\sum_{a}^{b}}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '4', '10.00000', null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_translate` VALUES ('586159ee-938f-4a08-a16e-1dd569598eb2', '0', '0', '', '2024-02-02 14:31:37', '2024-02-02 16:51:03', 'Q0000007', '单选2', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '808518fa-aa04-4f05-9556-79117197c6a4', '单选题', '<p>1+1=?第二题</p><p>A 1</p><p>B 2</p><p>C 3</p><p>D 4</p>', '<p>A</p>', null, '<p>d4w5a6d4564</p>', '0', null, '', '', '', '', '', '', '', ''); |
| | | INSERT INTO `question_master_translate` VALUES ('81fe2e08-804b-454d-8143-f270cb2914f4', '0', '0', '', '2024-01-08 22:38:14', '2024-01-26 11:08:09', 'Q0000003', '0333', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><br></p>', '<p><span style=\"color: rgb(51, 51, 51); background-color: rgb(248, 249, 249); font-size: 14px;\">C</span></p>', null, '<p><br></p>', null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_translate` VALUES ('88c74aef-f20b-4b09-b356-481a43ceec61', '0', '0', '', '2024-01-08 22:38:05', '2024-01-26 10:43:56', 'Q0000002', '0222', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '9fb78cc5-b7f6-415d-8401-034efa8b17ea', '简答题', '<p><span data-w-e-type=\"formula\" data-w-e-is-void data-w-e-is-inline data-value=\"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd}\"></span></p>', '<p><br></p>', null, '<p><br></p>', '0', null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_translate` VALUES ('b5b0ba85-7471-4eb8-aedd-add3856887c7', '0', '0', '', '2024-01-08 22:37:59', '2024-01-22 18:54:37', 'Q0000001', '0111', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '133aaba2-5403-4f46-817c-855908070623', '多选题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `question_master_translate` VALUES ('fd154665-c484-4842-a487-931063a844b0', '0', '0', '', '2024-01-08 22:38:21', '2024-01-22 18:54:43', 'Q0000004', '0444', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', '99cb7d08-314b-49d3-92f1-14e87ddd8af8', null, null, '5bd96dfb-0e85-4b03-87d9-cfd131b58580', '填空题', null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_paper |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_paper`; |
| | | CREATE TABLE `question_paper` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `subjectid` varchar(64) DEFAULT NULL, |
| | | `subjectname` varchar(256) DEFAULT NULL, |
| | | `subjectcode` varchar(256) DEFAULT NULL, |
| | | `categoryid` varchar(64) DEFAULT NULL, |
| | | `categoryname` varchar(256) DEFAULT NULL, |
| | | `price` decimal(18,5) DEFAULT NULL, |
| | | `type` int(11) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_paper |
| | | -- ---------------------------- |
| | | INSERT INTO `question_paper` VALUES ('3a4cfd45-9303-4ed6-97cd-a50a7ce967c4', '0', '0', '', '2024-01-18 09:42:41', '2024-01-26 11:07:57', 'P0000003', '实训答辩', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '5d922a9a-132d-4df4-94b6-e977533fa88f', '专项练习', '0.10000', '2'); |
| | | INSERT INTO `question_paper` VALUES ('99cb7d08-314b-49d3-92f1-14e87ddd8af8', '0', '0', '', '2024-01-08 22:42:17', '2024-01-22 19:28:32', 'P0000002', '期末复习', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '5d922a9a-132d-4df4-94b6-e977533fa88f', '专项练习', '0.00000', '1'); |
| | | INSERT INTO `question_paper` VALUES ('afa74a91-92ca-48b4-9a21-bd8bb57a75fc', '0', '0', '', '2024-01-08 22:32:18', '2024-01-22 19:29:31', 'P0000001', '2024 期中考试', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001', 'ffd099a0-2ff1-487d-8a72-f30f1b60d303', '2024年度考试', '0.00000', '0'); |
| | | INSERT INTO `question_paper` VALUES ('b17b5358-0632-463c-ac12-eb94cdee130d', '0', '0', '', '2024-01-31 15:16:25', null, 'P0000004', 'aaa', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003', '5d922a9a-132d-4df4-94b6-e977533fa88f', '专项练习', '0.00000', '0'); |
| | | INSERT INTO `question_paper` VALUES ('d6a17cd6-d89a-4592-ab8d-d68c45084a5c', '0', '0', '', '2024-02-02 17:30:50', null, 'P0000005', '发的地方', 'a727fc6f-b706-416a-ab61-a0854c049c0f', '高等数学二', 'S0000005', 'ad9da6a5-682b-4e81-b1e1-9163fa0f6cce', '能力测验', '0.00000', '0'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_paper_category |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_paper_category`; |
| | | CREATE TABLE `question_paper_category` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `parentid` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `status` int(11) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_paper_category |
| | | -- ---------------------------- |
| | | INSERT INTO `question_paper_category` VALUES ('33b0354e-6c94-4643-b977-5d6f82b84e14', 'ffd099a0-2ff1-487d-8a72-f30f1b60d303', '期中考试', '0', '', '2024-01-06 16:14:34', '2024-01-06 16:15:05', '0'); |
| | | INSERT INTO `question_paper_category` VALUES ('5d922a9a-132d-4df4-94b6-e977533fa88f', null, '专项练习', '0', '', '2024-01-06 16:15:42', null, '0'); |
| | | INSERT INTO `question_paper_category` VALUES ('74b5bfdb-10d4-488b-98a4-9b41e4238742', 'ffd099a0-2ff1-487d-8a72-f30f1b60d303', '期末考试', '0', '', '2024-01-06 16:14:43', '2024-01-06 16:15:10', '0'); |
| | | INSERT INTO `question_paper_category` VALUES ('ad9da6a5-682b-4e81-b1e1-9163fa0f6cce', null, '能力测验', '0', '', '2024-01-06 16:15:28', null, '0'); |
| | | INSERT INTO `question_paper_category` VALUES ('ffd099a0-2ff1-487d-8a72-f30f1b60d303', null, '2024年度考试', '0', '', '2024-01-06 16:14:59', null, '0'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_subject |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_subject`; |
| | | CREATE TABLE `question_subject` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `status` int(1) DEFAULT NULL COMMENT 'enabled', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `gradeid` varchar(64) DEFAULT NULL, |
| | | `gradename` varchar(256) DEFAULT NULL, |
| | | `gradecode` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_subject |
| | | -- ---------------------------- |
| | | INSERT INTO `question_subject` VALUES ('5c69046c-9f0c-4356-877e-6f2afed2c45e', '0', '0', '', '2024-01-06 16:08:53', null, '10003', '物理', null, null, null); |
| | | INSERT INTO `question_subject` VALUES ('9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '0', '0', '', '2024-01-06 16:08:32', null, '10002', '英语', null, null, null); |
| | | INSERT INTO `question_subject` VALUES ('a727fc6f-b706-416a-ab61-a0854c049c0f', '0', '0', '', '2024-01-30 16:05:19', null, 'S0000005', '高等数学二', null, null, null); |
| | | INSERT INTO `question_subject` VALUES ('b9b21d1f-aafd-41a3-84bc-87d7c9f28c75', '0', '0', '', '2024-01-30 16:05:12', null, 'S0000004', '高等数学一', null, null, null); |
| | | INSERT INTO `question_subject` VALUES ('f998cc25-32c6-44aa-8869-7545b8347e4d', '0', '0', '', '2024-01-06 15:48:11', '2024-01-06 16:01:49', '10001', '数学', null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_subject_grade_relation |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_subject_grade_relation`; |
| | | CREATE TABLE `question_subject_grade_relation` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `status` int(11) DEFAULT NULL, |
| | | `actionby` varchar(128) CHARACTER SET utf8 DEFAULT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `gradeid` varchar(64) CHARACTER SET utf8 DEFAULT NULL, |
| | | `gradename` varchar(256) CHARACTER SET utf8 DEFAULT NULL, |
| | | `gradecode` varchar(256) CHARACTER SET utf8 DEFAULT NULL, |
| | | `subjectid` varchar(64) CHARACTER SET utf8 DEFAULT NULL, |
| | | `subjectname` varchar(256) CHARACTER SET utf8 DEFAULT NULL, |
| | | `subjectcode` varchar(256) CHARACTER SET utf8 DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_subject_grade_relation |
| | | -- ---------------------------- |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('25ddf0a6-d672-48fe-8068-cc16e4383ae0', '2024-02-05 15:04:39', null, null, null, '0', '13d2cbb0-6aaf-41dd-ba44-18650e3268b7', 'G009', '一年级', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('27cf029f-1039-48a9-b7d7-ae0c2c9bdce6', '2024-02-08 11:10:51', null, null, null, '0', '094cef8e-7328-4ca8-8c36-889978bbdcdb', 'G001', '一年级', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('2b7b7284-9fed-4b98-bcc7-29368dbb991b', '2024-02-05 15:04:29', null, null, null, '0', '13d2cbb0-6aaf-41dd-ba44-18650e3268b7', 'G009', '一年级', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('318eac06-f74e-429c-945b-2d9ce99593ff', '2024-02-08 11:10:35', null, null, null, '0', '93bd9f0e-b05c-454d-8dcb-758a35ad804f', 'G006', '六年级', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('3a78de10-efbf-4172-ba41-a5d22a648d80', '2024-02-05 15:05:38', null, null, null, '0', '13d2cbb0-6aaf-41dd-ba44-18650e3268b7', 'G009', '一年级', 'a727fc6f-b706-416a-ab61-a0854c049c0f', '高等数学二', 'S0000005'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('49060c42-c2f9-4638-a3e1-2359257536fb', '2024-02-08 11:10:51', null, null, null, '0', '094cef8e-7328-4ca8-8c36-889978bbdcdb', 'G001', '一年级', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('4bc73cb2-7cfa-4c1b-8fc0-0e7c71e61a56', '2024-02-08 11:10:35', null, null, null, '0', '93bd9f0e-b05c-454d-8dcb-758a35ad804f', 'G006', '六年级', '9983c5b9-1ad1-408d-b8e1-4d1c9b46f9fd', '英语', '10002'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('523dfb7c-9be7-4bef-a4ce-336bd8c4804c', '2024-02-08 11:10:51', null, null, null, '0', '094cef8e-7328-4ca8-8c36-889978bbdcdb', 'G001', '一年级', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('59dd7a9d-d72f-410e-95d5-819340bdfc8c', '2024-02-08 11:10:35', null, null, null, '0', '93bd9f0e-b05c-454d-8dcb-758a35ad804f', 'G006', '六年级', 'f998cc25-32c6-44aa-8869-7545b8347e4d', '数学', '10001'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('5f0fbc51-8f0d-4664-afe3-3845033ff097', '2024-02-08 11:10:35', null, null, null, '0', '93bd9f0e-b05c-454d-8dcb-758a35ad804f', 'G006', '六年级', 'a727fc6f-b706-416a-ab61-a0854c049c0f', '高等数学二', 'S0000005'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('c359236d-2fcb-46cd-987d-39dc6f49706d', '2024-02-05 15:04:29', null, null, null, '0', '13d2cbb0-6aaf-41dd-ba44-18650e3268b7', 'G009', '一年级', 'b9b21d1f-aafd-41a3-84bc-87d7c9f28c75', '高等数学一', 'S0000004'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('cb04ad2c-b4ae-4046-b754-ad89a01c0f49', '2024-02-08 11:10:35', null, null, null, '0', '93bd9f0e-b05c-454d-8dcb-758a35ad804f', 'G006', '六年级', 'b9b21d1f-aafd-41a3-84bc-87d7c9f28c75', '高等数学一', 'S0000004'); |
| | | INSERT INTO `question_subject_grade_relation` VALUES ('ee6de222-de5d-45b4-a705-e5aa3abc219f', '2024-02-05 15:04:29', null, null, null, '0', '13d2cbb0-6aaf-41dd-ba44-18650e3268b7', 'G009', '一年级', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for question_subject_knowledge_point |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `question_subject_knowledge_point`; |
| | | CREATE TABLE `question_subject_knowledge_point` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `parentid` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `status` int(11) DEFAULT NULL, |
| | | `subjectid` varchar(64) DEFAULT NULL, |
| | | `subjectname` varchar(256) DEFAULT NULL, |
| | | `subjectcode` varchar(256) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of question_subject_knowledge_point |
| | | -- ---------------------------- |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('012064ca-855f-4eff-9baf-e97e29388201', 'fe9589be-e23f-43d4-914d-1bb6face3765', '2 固体、液体和气体', '0', '', '2024-01-26 16:48:50', null, '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('068bb84a-1b40-4d4d-9dda-4b82d0a70b40', '956bb085-6aca-442d-a584-63098d7eb238', '机械能', '0', '', '2024-01-26 16:42:57', null, '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('350d9a11-de87-4fb6-955c-534a1a15194d', '956bb085-6aca-442d-a584-63098d7eb238', '曲线运动、万有引力', '0', '', '2024-01-26 16:38:44', '2024-01-26 16:38:56', '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('38811053-0481-4910-a427-846e0befe186', '956bb085-6aca-442d-a584-63098d7eb238', '机械波', '0', '', '2024-01-26 16:43:17', null, '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('8d8262cd-e382-4c30-ab66-7d8d221c8c63', '956bb085-6aca-442d-a584-63098d7eb238', '相互作用、力与机械', '0', '', '2024-01-26 16:30:29', null, '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('956bb085-6aca-442d-a584-63098d7eb238', null, '第一章 力学', '0', '', '2024-01-26 15:57:24', null, '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('b5acfe90-3b41-42c2-a7ab-98f7a77f5b95', '956bb085-6aca-442d-a584-63098d7eb238', '牛顿运动定律', '0', '', '2024-01-26 16:30:37', '2024-01-26 16:38:21', '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('ce7961be-073d-42ae-89ef-9c18d6e32ce9', '956bb085-6aca-442d-a584-63098d7eb238', '机械振动', '0', '', '2024-01-26 16:43:05', null, '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('d2c08b0a-c02b-4163-9647-a95913a3e795', 'fe9589be-e23f-43d4-914d-1bb6face3765', '1 分子热运动和热机', '0', '', '2024-01-26 16:48:44', null, '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('f2197bdb-b7be-4b59-b6e1-039c7d60127b', '956bb085-6aca-442d-a584-63098d7eb238', '运动的描述', '0', '', '2024-01-26 16:17:29', '2024-01-26 16:27:42', '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('f3c11f2c-a78f-4713-9da4-1597684a092d', '956bb085-6aca-442d-a584-63098d7eb238', '动量', '0', '', '2024-01-26 16:39:05', '2024-01-26 16:40:13', '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | INSERT INTO `question_subject_knowledge_point` VALUES ('fe9589be-e23f-43d4-914d-1bb6face3765', '', '第二章 热学', '0', '', '2024-01-26 16:47:44', null, '0', '5c69046c-9f0c-4356-877e-6f2afed2c45e', '物理', '10003'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for shopping_cart |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `shopping_cart`; |
| | | CREATE TABLE `shopping_cart` ( |
| | | `id` varchar(64) NOT NULL COMMENT '购物车ID', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `vipuserId` varchar(64) DEFAULT NULL COMMENT '会员ID', |
| | | `vipname` varchar(128) DEFAULT NULL COMMENT '会员名称', |
| | | `vipphone` varchar(32) DEFAULT NULL COMMENT '会员联系电话', |
| | | `vipdiamondtype` int(11) DEFAULT NULL COMMENT '会员等级', |
| | | `viptype` int(11) DEFAULT NULL COMMENT '会员类型', |
| | | `vippicture` varchar(1024) DEFAULT NULL COMMENT '会员肖像', |
| | | `vipcarddiscountrate` decimal(18,5) DEFAULT NULL COMMENT '会员卡折扣率', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of shopping_cart |
| | | -- ---------------------------- |
| | | INSERT INTO `shopping_cart` VALUES ('b942adf2-53d1-4fcc-b1e6-10345e7f6489', 'C0000001', '0', null, '2024-01-08 21:28:00', '2024-01-08 21:28:48', 'b23ee1ba-3b67-11eb-8afe-00163e033152', null, null, null, null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for shopping_cart_product |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `shopping_cart_product`; |
| | | CREATE TABLE `shopping_cart_product` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `productid` varchar(64) DEFAULT NULL COMMENT '产品ID', |
| | | `productcode` varchar(64) DEFAULT NULL COMMENT '产品编号', |
| | | `productname` varchar(256) DEFAULT NULL COMMENT '产品名称', |
| | | `status` int(11) DEFAULT NULL COMMENT '状态', |
| | | `color` varchar(32) DEFAULT NULL COMMENT '颜色', |
| | | `size` varchar(32) DEFAULT NULL COMMENT '尺码', |
| | | `count` int(11) DEFAULT NULL COMMENT '数量', |
| | | `image` varchar(256) DEFAULT NULL COMMENT '产品图片', |
| | | `price` decimal(18,5) DEFAULT NULL COMMENT '产品原价', |
| | | `saleprice` decimal(18,5) DEFAULT NULL COMMENT '售价', |
| | | `cartid` varchar(64) DEFAULT NULL, |
| | | `cartcode` varchar(128) DEFAULT NULL COMMENT '订单编号', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of shopping_cart_product |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for system_audittrail |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `system_audittrail`; |
| | | CREATE TABLE `system_audittrail` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `message` varchar(1024) DEFAULT NULL, |
| | | `actionby` varchar(256) DEFAULT NULL COMMENT 'action by some user', |
| | | `actiontype` varchar(256) DEFAULT NULL COMMENT 'action type: create, update, delete, query', |
| | | `actionip` varchar(256) DEFAULT NULL COMMENT 'action computer ip', |
| | | `actiontime` datetime DEFAULT NULL COMMENT 'action time', |
| | | `module` varchar(256) DEFAULT NULL COMMENT 'module', |
| | | `beforetarget` varchar(1024) DEFAULT NULL COMMENT 'before target', |
| | | `aftertarget` varchar(1024) DEFAULT NULL COMMENT 'after target', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of system_audittrail |
| | | -- ---------------------------- |
| | | INSERT INTO `system_audittrail` VALUES ('02cc6e21-d349-4138-8b5f-02bed4b0bf48', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 19:26:34', 'Security', null, null, '0', null, '2024-02-18 19:26:34', null); |
| | | INSERT INTO `system_audittrail` VALUES ('03a37e73-a67c-4610-a344-bc9432e71f43', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 16:55:42', 'Security', null, null, '0', null, '2024-01-27 16:55:42', null); |
| | | INSERT INTO `system_audittrail` VALUES ('0404c953-8ba3-4920-88b8-3049d415e63d', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-26 10:51:28', 'Security', null, null, '0', null, '2024-01-26 10:51:28', null); |
| | | INSERT INTO `system_audittrail` VALUES ('06418cc6-2907-443f-b728-f1c315613326', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 13:09:10', 'Security', null, null, '0', null, '2024-02-02 13:09:10', null); |
| | | INSERT INTO `system_audittrail` VALUES ('0a31b543-f9ef-435b-90e7-4f27f59b0e34', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 15:08:03', 'Security', null, null, '0', null, '2024-02-02 15:08:03', null); |
| | | INSERT INTO `system_audittrail` VALUES ('0a550b23-cdd5-4859-9e0a-1c376b768faf', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-18 08:44:38', 'Security', null, null, '0', null, '2024-02-18 08:44:38', null); |
| | | INSERT INTO `system_audittrail` VALUES ('0a55ad08-1b80-4e4a-9015-0799e8f05c11', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 15:42:50', 'Security', null, null, '0', null, '2024-01-06 15:42:50', null); |
| | | INSERT INTO `system_audittrail` VALUES ('0ac5f047-739e-4649-b730-e6e31336bdba', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 16:26:53', 'Security', null, null, '0', null, '2024-02-02 16:26:53', null); |
| | | INSERT INTO `system_audittrail` VALUES ('0b6a6559-ac16-4e26-ac2f-2cfe0ec06dd3', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-23 08:09:13', 'Security', null, null, '0', null, '2024-01-23 08:09:13', null); |
| | | INSERT INTO `system_audittrail` VALUES ('0bb36d68-40bb-4134-9102-d1a6f20ed84c', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 15:53:35', 'Security', null, null, '0', null, '2024-01-30 15:53:35', null); |
| | | INSERT INTO `system_audittrail` VALUES ('0f80b677-1cc2-4cf5-986e-2209977dd662', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 12:56:31', 'Security', null, null, '0', null, '2024-02-02 12:56:31', null); |
| | | INSERT INTO `system_audittrail` VALUES ('10f5bfa0-4968-451b-b4b7-bf7d1daf8934', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-08 22:29:15', 'Security', null, null, '0', null, '2024-01-08 22:29:15', null); |
| | | INSERT INTO `system_audittrail` VALUES ('127a7e0e-8965-4dfb-9db1-6983b3d53ca0', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-31 11:23:17', 'Security', null, null, '0', null, '2024-01-31 11:23:17', null); |
| | | INSERT INTO `system_audittrail` VALUES ('12b844e4-d421-4d8c-a07e-a50640acf605', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-08 16:31:28', 'Security', null, null, '0', null, '2024-02-08 16:31:28', null); |
| | | INSERT INTO `system_audittrail` VALUES ('15ed47a6-bf67-4c9c-a4d0-6ec87d71fef4', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-06 17:58:36', 'Security', null, null, '0', null, '2024-02-06 17:58:36', null); |
| | | INSERT INTO `system_audittrail` VALUES ('15f20c93-01b9-4bef-9856-0576b2623f68', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-05 14:35:15', 'Security', null, null, '0', null, '2024-02-05 14:35:15', null); |
| | | INSERT INTO `system_audittrail` VALUES ('16688c54-8620-4694-ad3d-8437020a97fd', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-19 08:17:44', 'Security', null, null, '0', null, '2024-02-19 08:17:44', null); |
| | | INSERT INTO `system_audittrail` VALUES ('171cfe55-6eaf-4a77-9fb0-be37169fafc0', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 14:47:34', 'Security', null, null, '0', null, '2024-01-27 14:47:34', null); |
| | | INSERT INTO `system_audittrail` VALUES ('178bd431-5bbe-4406-a759-66f27ee7a58b', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-18 18:16:18', 'Security', null, null, '0', null, '2024-02-18 18:16:18', null); |
| | | INSERT INTO `system_audittrail` VALUES ('17957fb8-4ee6-4e13-b9dd-a7e0d6813e9e', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 09:49:51', 'Security', null, null, '0', null, '2024-02-02 09:49:51', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1803b537-f245-4e3d-80a2-4e7604256523', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-19 15:05:25', 'Security', null, null, '0', null, '2024-02-19 15:05:25', null); |
| | | INSERT INTO `system_audittrail` VALUES ('18a35d04-aad8-45ab-a459-521939f916b8', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 14:01:05', 'Security', null, null, '0', null, '2024-02-01 14:01:05', null); |
| | | INSERT INTO `system_audittrail` VALUES ('19279f6a-15a8-4270-9483-04cf9bcac2e0', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 09:37:19', 'Security', null, null, '0', null, '2024-02-02 09:37:19', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1af09a0c-5aa7-4d9e-88ad-a32ed6495a8b', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 14:46:28', 'Security', null, null, '0', null, '2024-02-06 14:46:28', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1b06081c-7100-46c3-8ba4-c0281cb5d68f', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 16:36:58', 'Security', null, null, '0', null, '2024-02-02 16:36:58', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1b8de07a-c287-4f8c-b319-cc21e6a4955e', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 13:01:58', 'Security', null, null, '0', null, '2024-02-02 13:01:58', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1bd608ef-aa3c-47b3-97e3-1ae93d87f063', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-05 09:25:50', 'Security', null, null, '0', null, '2024-02-05 09:25:50', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1c3d66a9-b2b3-4fb6-8141-16488ab72e7b', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 10:53:03', 'Security', null, null, '0', null, '2024-02-02 10:53:03', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1de5a0b3-aff5-4775-9c2e-3454240b3bc9', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-06 17:47:49', 'Security', null, null, '0', null, '2024-02-06 17:47:49', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1e0b0a2a-baf0-43e2-8356-aee01057f67b', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-20 10:15:41', 'Security', null, null, '0', null, '2024-02-20 10:15:41', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1e419f75-3a7e-47d1-941d-c46c4740aa22', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-06 17:28:28', 'Security', null, null, '0', null, '2024-02-06 17:28:28', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1e533a8e-03f5-4ba9-85fa-ad810f0159ab', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 18:32:42', 'Security', null, null, '0', null, '2024-02-18 18:32:42', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1eb43d11-e103-4066-ab94-9f210f06cd9d', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 22:43:51', 'Security', null, null, '0', null, '2024-01-06 22:43:51', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1f2207a1-f3b4-4f36-bd14-682f889042a5', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-08 10:31:28', 'Security', null, null, '0', null, '2024-02-08 10:31:28', null); |
| | | INSERT INTO `system_audittrail` VALUES ('1f654a91-42e9-48dc-a53f-6488f81f48e9', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-10 10:23:33', 'Security', null, null, '0', null, '2024-02-10 10:23:33', null); |
| | | INSERT INTO `system_audittrail` VALUES ('204ba1d6-35d5-44ac-b33e-089f6b4641f1', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-18 18:37:08', 'Security', null, null, '0', null, '2024-02-18 18:37:08', null); |
| | | INSERT INTO `system_audittrail` VALUES ('214f0e1b-a420-4654-91ce-249a16cddde9', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-04 08:19:11', 'Security', null, null, '0', null, '2024-02-04 08:19:11', null); |
| | | INSERT INTO `system_audittrail` VALUES ('2171328f-4936-44e3-bba6-be269842eb23', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-08 16:29:02', 'Security', null, null, '0', null, '2024-02-08 16:29:02', null); |
| | | INSERT INTO `system_audittrail` VALUES ('22d85af6-347b-4463-b788-794f60d71733', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-05 09:57:00', 'Security', null, null, '0', null, '2024-02-05 09:57:00', null); |
| | | INSERT INTO `system_audittrail` VALUES ('2364994b-2de6-4064-a66e-0acb2ae24333', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 14:28:02', 'Security', null, null, '0', null, '2024-02-02 14:28:02', null); |
| | | INSERT INTO `system_audittrail` VALUES ('23e5a5c2-7f1c-4536-a363-97196ee83a15', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-23 10:51:32', 'Security', null, null, '0', null, '2024-02-23 10:51:32', null); |
| | | INSERT INTO `system_audittrail` VALUES ('24d514de-9e8d-42d3-a18a-3c551662db2b', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 18:01:40', 'Security', null, null, '0', null, '2024-02-06 18:01:40', null); |
| | | INSERT INTO `system_audittrail` VALUES ('254f6cc3-1e83-454f-b364-ef19e23744b1', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 13:29:26', 'Security', null, null, '0', null, '2024-02-02 13:29:26', null); |
| | | INSERT INTO `system_audittrail` VALUES ('26c8e2ef-2b75-41c0-9ee8-017275289bf6', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 10:18:03', 'Security', null, null, '0', null, '2024-02-01 10:18:03', null); |
| | | INSERT INTO `system_audittrail` VALUES ('28bffbfc-9fdc-4463-9071-1f17c134e39b', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 09:48:32', 'Security', null, null, '0', null, '2024-02-02 09:48:32', null); |
| | | INSERT INTO `system_audittrail` VALUES ('29c24116-e077-4f3c-8042-3043a1d2b1e8', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-04 08:33:47', 'Security', null, null, '0', null, '2024-02-04 08:33:47', null); |
| | | INSERT INTO `system_audittrail` VALUES ('2a8653e8-195f-477a-a8f4-2f057f976bad', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 14:28:21', 'Security', null, null, '0', null, '2024-02-02 14:28:21', null); |
| | | INSERT INTO `system_audittrail` VALUES ('2b6944d0-4ff1-41ed-adc4-6309cb316868', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 10:40:46', 'Security', null, null, '0', null, '2024-02-01 10:40:46', null); |
| | | INSERT INTO `system_audittrail` VALUES ('2c68000f-26e1-47ad-801c-e7ad3ee59856', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-04 22:41:29', 'Security', null, null, '0', null, '2024-01-04 22:41:29', null); |
| | | INSERT INTO `system_audittrail` VALUES ('2dea6541-4797-45d8-8fd9-e7778f761aaa', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 17:49:35', 'Security', null, null, '0', null, '2024-02-06 17:49:35', null); |
| | | INSERT INTO `system_audittrail` VALUES ('2f44df81-b143-4390-86b7-74853ee85e08', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-25 09:26:05', 'Security', null, null, '0', null, '2024-01-25 09:26:05', null); |
| | | INSERT INTO `system_audittrail` VALUES ('3207c59d-62b2-4456-9684-602732125a5e', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 17:31:22', 'Security', null, null, '0', null, '2024-02-18 17:31:22', null); |
| | | INSERT INTO `system_audittrail` VALUES ('322cce0f-b359-4047-8fdc-15abf1b76cc7', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-31 11:19:21', 'Security', null, null, '0', null, '2024-01-31 11:19:21', null); |
| | | INSERT INTO `system_audittrail` VALUES ('32b840ee-b149-489d-8632-baaaaeb5db91', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 22:52:46', 'Security', null, null, '0', null, '2024-01-06 22:52:46', null); |
| | | INSERT INTO `system_audittrail` VALUES ('33e0d995-d6c8-4d00-978f-4870839ad8ff', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 19:26:14', 'Security', null, null, '0', null, '2024-02-18 19:26:14', null); |
| | | INSERT INTO `system_audittrail` VALUES ('34157b78-6331-41e4-b6cc-6936d52f9df5', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-18 18:19:14', 'Security', null, null, '0', null, '2024-02-18 18:19:14', null); |
| | | INSERT INTO `system_audittrail` VALUES ('359dd3ac-3d42-4bb4-b4e3-1a4cf765860f', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 16:19:58', 'Security', null, null, '0', null, '2024-01-27 16:19:58', null); |
| | | INSERT INTO `system_audittrail` VALUES ('3786a34b-2d20-4574-97ee-d7d7ddff4bb7', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 14:23:22', 'Security', null, null, '0', null, '2024-01-27 14:23:22', null); |
| | | INSERT INTO `system_audittrail` VALUES ('37ebb557-9f59-4d8d-8408-6c0b7286e02d', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 15:14:31', 'Security', null, null, '0', null, '2024-01-27 15:14:31', null); |
| | | INSERT INTO `system_audittrail` VALUES ('38863f80-1496-4c1f-b6b9-d2b71c765753', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 20:50:32', 'Security', null, null, '0', null, '2024-01-06 20:50:32', null); |
| | | INSERT INTO `system_audittrail` VALUES ('38f72d6c-075f-48eb-9302-30e8fe8b923e', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 10:27:16', 'Security', null, null, '0', null, '2024-02-02 10:27:16', null); |
| | | INSERT INTO `system_audittrail` VALUES ('395615bc-a4bd-4d9d-9d2b-fdad1cfa04df', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-19 16:17:22', 'Security', null, null, '0', null, '2024-02-19 16:17:22', null); |
| | | INSERT INTO `system_audittrail` VALUES ('39980429-58d6-48e6-aace-bc8e5ec5644a', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 14:05:19', 'Security', null, null, '0', null, '2024-02-02 14:05:19', null); |
| | | INSERT INTO `system_audittrail` VALUES ('3a3ccbd8-a2ad-4c4a-b8bf-c0a1ada6e586', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-26 10:13:42', 'Security', null, null, '0', null, '2024-01-26 10:13:42', null); |
| | | INSERT INTO `system_audittrail` VALUES ('3a5d86e6-16c8-4a0b-8440-8ccdc9f307bc', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 14:24:51', 'Security', null, null, '0', null, '2024-02-02 14:24:51', null); |
| | | INSERT INTO `system_audittrail` VALUES ('3d901156-b688-44c0-bacf-3047c26429e6', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-14 14:41:56', 'Security', null, null, '0', null, '2024-01-14 14:41:56', null); |
| | | INSERT INTO `system_audittrail` VALUES ('3eea0ae4-51dc-4fb8-8159-79f54220b698', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 20:51:04', 'Security', null, null, '0', null, '2024-01-06 20:51:04', null); |
| | | INSERT INTO `system_audittrail` VALUES ('3f04ad5d-85a0-4eab-bf08-451caca0d87d', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 18:12:31', 'Security', null, null, '0', null, '2024-02-18 18:12:31', null); |
| | | INSERT INTO `system_audittrail` VALUES ('40c82613-1bb1-40f3-a57a-9c63b7f24fc8', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-17 16:41:12', 'Security', null, null, '0', null, '2024-01-17 16:41:12', null); |
| | | INSERT INTO `system_audittrail` VALUES ('42d8d7bc-106f-4738-a1bd-8d77826ddf39', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-06 18:04:58', 'Security', null, null, '0', null, '2024-02-06 18:04:58', null); |
| | | INSERT INTO `system_audittrail` VALUES ('430ee356-5b5b-4f8c-86de-b65e6097dd3b', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-04 18:55:56', 'Security', null, null, '0', null, '2024-01-04 18:55:56', null); |
| | | INSERT INTO `system_audittrail` VALUES ('431b1355-e591-49dd-b58c-bddda42de8df', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-29 08:49:26', 'Security', null, null, '0', null, '2024-01-29 08:49:26', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4404e5fd-ff91-4102-bbbf-4a03270ebddd', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-31 09:34:03', 'Security', null, null, '0', null, '2024-01-31 09:34:03', null); |
| | | INSERT INTO `system_audittrail` VALUES ('44e33417-b02a-4eb9-9ca2-1b433966fde0', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 13:55:05', 'Security', null, null, '0', null, '2024-02-01 13:55:05', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4540f76d-b823-4322-be9b-bfcad932c4bc', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-25 11:25:00', 'Security', null, null, '0', null, '2024-01-25 11:25:00', null); |
| | | INSERT INTO `system_audittrail` VALUES ('454e4b95-0f98-4a2b-b99d-2bdb938b55cc', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-07 09:11:18', 'Security', null, null, '0', null, '2024-02-07 09:11:18', null); |
| | | INSERT INTO `system_audittrail` VALUES ('46021649-b640-43ed-a650-c31306455b90', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 15:07:17', 'Security', null, null, '0', null, '2024-01-27 15:07:17', null); |
| | | INSERT INTO `system_audittrail` VALUES ('46372030-5ea7-40a3-b19b-a9db3347ea3a', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-04 09:14:23', 'Security', null, null, '0', null, '2024-02-04 09:14:23', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4675e666-9a05-4342-807a-a12ebf5fa450', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 12:05:27', 'Security', null, null, '0', null, '2024-02-01 12:05:27', null); |
| | | INSERT INTO `system_audittrail` VALUES ('46c79a3e-81cd-4f52-a4d0-738fb9c24904', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-06 17:48:32', 'Security', null, null, '0', null, '2024-02-06 17:48:32', null); |
| | | INSERT INTO `system_audittrail` VALUES ('46d78c67-15ab-4bf2-af38-a93b519a3c77', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 09:23:59', 'Security', null, null, '0', null, '2024-02-01 09:23:59', null); |
| | | INSERT INTO `system_audittrail` VALUES ('46f39f5f-4b3e-44b7-9c72-d5e3c362a9c3', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 22:50:02', 'Security', null, null, '0', null, '2024-01-06 22:50:02', null); |
| | | INSERT INTO `system_audittrail` VALUES ('47333c31-31ab-4424-8378-6b59ae287831', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 14:23:13', 'Security', null, null, '0', null, '2024-02-02 14:23:13', null); |
| | | INSERT INTO `system_audittrail` VALUES ('47947a46-1b3e-4682-8874-0521fbdf97de', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-04 08:53:41', 'Security', null, null, '0', null, '2024-02-04 08:53:41', null); |
| | | INSERT INTO `system_audittrail` VALUES ('481cca55-54d3-4808-9325-457a94b6445c', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 18:00:50', 'Security', null, null, '0', null, '2024-02-06 18:00:50', null); |
| | | INSERT INTO `system_audittrail` VALUES ('48a49a94-02a1-44ae-b70e-8647e137ea52', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-12 21:40:21', 'Security', null, null, '0', null, '2024-02-12 21:40:21', null); |
| | | INSERT INTO `system_audittrail` VALUES ('496928e7-12ab-40c7-9802-033b06b88292', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-20 10:11:53', 'Security', null, null, '0', null, '2024-02-20 10:11:53', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4a354e47-2cd9-4be4-9317-2473b46839ee', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 12:04:44', 'Security', null, null, '0', null, '2024-02-01 12:04:44', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4a9f45a3-1e44-4861-993d-6cd05fac7ce5', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-20 08:33:43', 'Security', null, null, '0', null, '2024-02-20 08:33:43', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4ab583d1-6150-4345-aed9-6288939ad73e', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 10:21:24', 'Security', null, null, '0', null, '2024-02-02 10:21:24', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4ab989b8-b31d-496c-877a-53724be61f55', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-23 10:36:24', 'Security', null, null, '0', null, '2024-02-23 10:36:24', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4afee9cd-3f2a-4364-908a-bbd44fe4bfae', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 13:15:57', 'Security', null, null, '0', null, '2024-02-02 13:15:57', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4e84f4ec-c985-4580-bbbc-fd76731ba0b2', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-06 23:04:26', 'Security', null, null, '0', null, '2024-02-06 23:04:26', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4eb76907-166c-48eb-bd1b-0f3a8f26e5a3', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 20:39:10', 'Security', null, null, '0', null, '2024-01-06 20:39:10', null); |
| | | INSERT INTO `system_audittrail` VALUES ('4fb423d0-4c3a-42fc-8b84-1c91609d4592', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 09:11:56', 'Security', null, null, '0', null, '2024-01-30 09:11:56', null); |
| | | INSERT INTO `system_audittrail` VALUES ('50e4e04a-8f89-4e9d-acfd-542908ec1e09', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 17:47:56', 'Security', null, null, '0', null, '2024-02-06 17:47:56', null); |
| | | INSERT INTO `system_audittrail` VALUES ('515c1da2-d0e1-4431-8f06-1fcbf26ff3f7', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 16:20:43', 'Security', null, null, '0', null, '2024-02-02 16:20:43', null); |
| | | INSERT INTO `system_audittrail` VALUES ('52b00757-c95c-43cf-9455-310aa5dd1dda', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-06 17:47:49', 'Security', null, null, '0', null, '2024-02-06 17:47:49', null); |
| | | INSERT INTO `system_audittrail` VALUES ('52b755e7-6ced-440b-8739-7f0d1afb5f11', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-05 15:11:52', 'Security', null, null, '0', null, '2024-02-05 15:11:52', null); |
| | | INSERT INTO `system_audittrail` VALUES ('5401b93e-2a24-433a-bdbb-d37ede51f1ed', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 17:59:11', 'Security', null, null, '0', null, '2024-02-06 17:59:11', null); |
| | | INSERT INTO `system_audittrail` VALUES ('541d34d8-e1c1-46b2-a916-412de479eafe', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 11:42:03', 'Security', null, null, '0', null, '2024-01-30 11:42:03', null); |
| | | INSERT INTO `system_audittrail` VALUES ('5495b3c5-6a44-48a6-be02-f0a98d051683', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-31 15:13:26', 'Security', null, null, '0', null, '2024-01-31 15:13:26', null); |
| | | INSERT INTO `system_audittrail` VALUES ('57391e72-c8da-41c0-b809-0a25c325d699', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 15:46:42', 'Security', null, null, '0', null, '2024-01-30 15:46:42', null); |
| | | INSERT INTO `system_audittrail` VALUES ('58c9dc64-afe9-45bf-ab46-54f7ada27ba1', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-23 23:27:23', 'Security', null, null, '0', null, '2024-01-23 23:27:23', null); |
| | | INSERT INTO `system_audittrail` VALUES ('58dda817-7f61-4fab-980d-38bdc0e22f69', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-07 11:18:49', 'Security', null, null, '0', null, '2024-02-07 11:18:49', null); |
| | | INSERT INTO `system_audittrail` VALUES ('5a6ae7a2-4b0e-4a66-b53d-6a3dd36018e9', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-18 10:33:02', 'Security', null, null, '0', null, '2024-01-18 10:33:02', null); |
| | | INSERT INTO `system_audittrail` VALUES ('5c660ca4-60ff-4574-99b5-a8f1e5f38e2a', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 15:22:14', 'Security', null, null, '0', null, '2024-01-27 15:22:14', null); |
| | | INSERT INTO `system_audittrail` VALUES ('5de61180-995d-464c-99fd-6c51da2d8cbe', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 23:06:20', 'Security', null, null, '0', null, '2024-02-06 23:06:20', null); |
| | | INSERT INTO `system_audittrail` VALUES ('5f179b3f-5d1e-49c5-8b2c-53b0343410d1', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-23 12:12:47', 'Security', null, null, '0', null, '2024-01-23 12:12:47', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6021797f-e5b2-462a-a494-c9a9254a06f3', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-18 18:10:20', 'Security', null, null, '0', null, '2024-02-18 18:10:20', null); |
| | | INSERT INTO `system_audittrail` VALUES ('618caf2a-dbe8-4e40-9130-3298419dc53a', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-04 11:52:54', 'Security', null, null, '0', null, '2024-01-04 11:52:54', null); |
| | | INSERT INTO `system_audittrail` VALUES ('619b3d30-5810-4f61-8b3e-91e2c4f0d4b7', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-31 09:52:00', 'Security', null, null, '0', null, '2024-01-31 09:52:00', null); |
| | | INSERT INTO `system_audittrail` VALUES ('62a724c8-219d-42cb-9434-bc9537e451b9', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 09:50:33', 'Security', null, null, '0', null, '2024-02-02 09:50:33', null); |
| | | INSERT INTO `system_audittrail` VALUES ('637257d6-1d3d-4eb2-8688-c001d0d5c54f', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 18:13:16', 'Security', null, null, '0', null, '2024-02-18 18:13:16', null); |
| | | INSERT INTO `system_audittrail` VALUES ('63f4ce5f-3297-4031-9df1-955b14473950', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-20 14:37:29', 'Security', null, null, '0', null, '2024-02-20 14:37:29', null); |
| | | INSERT INTO `system_audittrail` VALUES ('64292873-97d3-4826-a380-4df36a6b78af', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-07 11:18:06', 'Security', null, null, '0', null, '2024-02-07 11:18:06', null); |
| | | INSERT INTO `system_audittrail` VALUES ('65dce1d5-6321-4be5-8b06-6069ec3ffef7', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 12:42:57', 'Security', null, null, '0', null, '2024-02-02 12:42:57', null); |
| | | INSERT INTO `system_audittrail` VALUES ('66a3f4e8-568e-439b-9b2b-75945ccce1f0', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 17:49:09', 'Security', null, null, '0', null, '2024-02-06 17:49:09', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6836dde6-7e0b-47b9-bc34-fe3966aadb59', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-10 10:41:06', 'Security', null, null, '0', null, '2024-02-10 10:41:06', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6902b023-2149-4f2a-9290-3af4443c584c', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-29 14:24:28', 'Security', null, null, '0', null, '2024-01-29 14:24:28', null); |
| | | INSERT INTO `system_audittrail` VALUES ('69707bb8-775b-4cfb-9b82-a0a3a272c625', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 10:34:42', 'Security', null, null, '0', null, '2024-02-01 10:34:42', null); |
| | | INSERT INTO `system_audittrail` VALUES ('69a5eb1d-3efe-4bee-bbe8-3429a70ae020', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 10:53:22', 'Security', null, null, '0', null, '2024-01-30 10:53:22', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6b50d9cb-71ff-4b79-ae4b-feb45cb76d93', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 15:51:13', 'Security', null, null, '0', null, '2024-01-30 15:51:13', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6b95c677-a592-4a7b-b025-9e7e68ed4bb9', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-18 18:08:33', 'Security', null, null, '0', null, '2024-02-18 18:08:33', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6c23c218-75cf-4be4-9035-8811fa4e6c4d', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 11:10:49', 'Security', null, null, '0', null, '2024-02-01 11:10:49', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6c44cc46-e928-4e38-8fec-9bc91aff1bc4', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-23 14:39:52', 'Security', null, null, '0', null, '2024-01-23 14:39:52', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6ce76872-f6fe-4590-8fa0-0d7489dc4fae', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-04 09:22:47', 'Security', null, null, '0', null, '2024-02-04 09:22:47', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6d7f104a-6e3f-42df-bcea-570d80d721ec', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-23 10:33:09', 'Security', null, null, '0', null, '2024-02-23 10:33:09', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6e24fec4-c049-413d-ba5c-2c5a248a6933', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-06 23:04:41', 'Security', null, null, '0', null, '2024-02-06 23:04:41', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6e2e0494-41e0-4bae-bda0-a7be58d66825', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-04 11:29:15', 'Security', null, null, '0', null, '2024-01-04 11:29:15', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6e399975-a5d1-4d17-a8a8-936dc0605a0f', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 09:08:30', 'Security', null, null, '0', null, '2024-02-06 09:08:30', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6eba8758-b935-48c9-8917-6cf61eed4a9e', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 11:29:51', 'Security', null, null, '0', null, '2024-02-01 11:29:51', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6f192ae5-9851-4782-b142-fd72f5ae662e', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-05 15:07:03', 'Security', null, null, '0', null, '2024-02-05 15:07:03', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6f6e87fb-d6e3-4071-9092-96b0034393cf', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 09:52:49', 'Security', null, null, '0', null, '2024-02-02 09:52:49', null); |
| | | INSERT INTO `system_audittrail` VALUES ('6f85a3a4-cdd1-4d33-85d7-ee91a5bdb6a5', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-26 09:41:48', 'Security', null, null, '0', null, '2024-01-26 09:41:48', null); |
| | | INSERT INTO `system_audittrail` VALUES ('70e9d343-8d25-4d7e-b2e7-ad00699e02bc', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-29 14:02:04', 'Security', null, null, '0', null, '2024-01-29 14:02:04', null); |
| | | INSERT INTO `system_audittrail` VALUES ('71627000-8df4-4b5d-9781-bf3bf950bdb3', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-08 16:25:46', 'Security', null, null, '0', null, '2024-02-08 16:25:46', null); |
| | | INSERT INTO `system_audittrail` VALUES ('722bb5d6-4469-4134-bd5d-cfcabac506b9', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 15:50:30', 'Security', null, null, '0', null, '2024-01-30 15:50:30', null); |
| | | INSERT INTO `system_audittrail` VALUES ('72fbb6a3-ef36-4633-b3a6-a29a22e7dab0', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 17:35:27', 'Security', null, null, '0', null, '2024-02-02 17:35:27', null); |
| | | INSERT INTO `system_audittrail` VALUES ('734a7273-55db-44ee-9365-20db910d135a', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-21 10:20:40', 'Security', null, null, '0', null, '2024-02-21 10:20:40', null); |
| | | INSERT INTO `system_audittrail` VALUES ('74cc7e1d-4ee1-4bc6-acd6-bdd61553e84e', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-05 14:44:01', 'Security', null, null, '0', null, '2024-02-05 14:44:01', null); |
| | | INSERT INTO `system_audittrail` VALUES ('764e4c4c-6421-45d7-bec9-944aa8ba3eee', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-08 16:13:09', 'Security', null, null, '0', null, '2024-01-08 16:13:09', null); |
| | | INSERT INTO `system_audittrail` VALUES ('77284293-a298-4227-a067-f15683bfbc9b', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 15:37:02', 'Security', null, null, '0', null, '2024-02-02 15:37:02', null); |
| | | INSERT INTO `system_audittrail` VALUES ('77816b1b-4da8-44a0-8b79-6c650e513971', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 15:49:10', 'Security', null, null, '0', null, '2024-01-30 15:49:10', null); |
| | | INSERT INTO `system_audittrail` VALUES ('7839b3c4-0c95-48c5-8ed4-3d6eca7fed90', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 15:05:41', 'Security', null, null, '0', null, '2024-02-01 15:05:41', null); |
| | | INSERT INTO `system_audittrail` VALUES ('78742dfe-a145-4d55-a7b8-f43ede00c414', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 20:57:47', 'Security', null, null, '0', null, '2024-01-06 20:57:47', null); |
| | | INSERT INTO `system_audittrail` VALUES ('79f134f2-7c1f-4509-a5dd-5d2784f9bb5d', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 17:29:18', 'Security', null, null, '0', null, '2024-02-01 17:29:18', null); |
| | | INSERT INTO `system_audittrail` VALUES ('7ac44998-714c-4320-b045-b24b2898bbfe', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 23:04:33', 'Security', null, null, '0', null, '2024-02-06 23:04:33', null); |
| | | INSERT INTO `system_audittrail` VALUES ('7ac85f0f-bea7-4318-abe3-921d8c97cdf8', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 13:18:08', 'Security', null, null, '0', null, '2024-02-02 13:18:08', null); |
| | | INSERT INTO `system_audittrail` VALUES ('7ad82961-8821-4025-8e8e-d3e49a00862a', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 14:05:39', 'Security', null, null, '0', null, '2024-02-01 14:05:39', null); |
| | | INSERT INTO `system_audittrail` VALUES ('7ade5457-094e-4d04-b916-0b176762fd08', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 13:51:41', 'Security', null, null, '0', null, '2024-02-02 13:51:41', null); |
| | | INSERT INTO `system_audittrail` VALUES ('7b178c01-18a8-4cbe-9505-1a8872e193ee', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 12:35:49', 'Security', null, null, '0', null, '2024-02-02 12:35:49', null); |
| | | INSERT INTO `system_audittrail` VALUES ('7baa99c1-29e9-4d1a-adda-907e36281ab2', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 16:53:22', 'Security', null, null, '0', null, '2024-01-27 16:53:22', null); |
| | | INSERT INTO `system_audittrail` VALUES ('7d14ffcc-f7f8-4ceb-a94f-d822d2f83203', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 20:54:44', 'Security', null, null, '0', null, '2024-01-06 20:54:44', null); |
| | | INSERT INTO `system_audittrail` VALUES ('7e609b5f-4ec7-4bf2-8a7e-ca62faa5a740', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-19 08:58:34', 'Security', null, null, '0', null, '2024-02-19 08:58:34', null); |
| | | INSERT INTO `system_audittrail` VALUES ('80762968-a028-4918-a8dc-02c7ddd945d0', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-20 20:28:16', 'Security', null, null, '0', null, '2024-02-20 20:28:16', null); |
| | | INSERT INTO `system_audittrail` VALUES ('80d188bd-a170-45ed-8dad-ed3303311c75', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-20 14:37:54', 'Security', null, null, '0', null, '2024-02-20 14:37:54', null); |
| | | INSERT INTO `system_audittrail` VALUES ('80d76817-51f9-4d6a-a1b1-33ee91ae98a1', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-07 11:02:40', 'Security', null, null, '0', null, '2024-02-07 11:02:40', null); |
| | | INSERT INTO `system_audittrail` VALUES ('80db3714-9e2c-489a-a5bf-91bf1bb2b0ef', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 10:45:12', 'Security', null, null, '0', null, '2024-02-01 10:45:12', null); |
| | | INSERT INTO `system_audittrail` VALUES ('81069735-6e48-40f2-b7b6-b8cd19bfdad3', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-04 11:52:34', 'Security', null, null, '0', null, '2024-01-04 11:52:34', null); |
| | | INSERT INTO `system_audittrail` VALUES ('8229ac63-089c-4366-b31f-cd4579163134', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 14:10:08', 'Security', null, null, '0', null, '2024-02-02 14:10:08', null); |
| | | INSERT INTO `system_audittrail` VALUES ('82382485-f936-4030-ad9c-48adb537d427', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 14:03:53', 'Security', null, null, '0', null, '2024-02-01 14:03:53', null); |
| | | INSERT INTO `system_audittrail` VALUES ('834e6e15-3fac-4b77-861f-e741a86fdd89', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-23 08:13:09', 'Security', null, null, '0', null, '2024-01-23 08:13:09', null); |
| | | INSERT INTO `system_audittrail` VALUES ('83db2aae-d576-4797-a974-5f9b1184b07b', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-23 10:36:17', 'Security', null, null, '0', null, '2024-02-23 10:36:17', null); |
| | | INSERT INTO `system_audittrail` VALUES ('83f01e66-2639-4c68-b5a0-29314bf3ff7b', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 18:07:41', 'Security', null, null, '0', null, '2024-02-06 18:07:41', null); |
| | | INSERT INTO `system_audittrail` VALUES ('84ebe8ab-9a85-482b-8323-eeacc8ce9e1f', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 17:06:37', 'Security', null, null, '0', null, '2024-02-01 17:06:37', null); |
| | | INSERT INTO `system_audittrail` VALUES ('85f4a655-eb7b-428a-bb44-c410025bc22f', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 15:34:04', 'Security', null, null, '0', null, '2024-01-27 15:34:04', null); |
| | | INSERT INTO `system_audittrail` VALUES ('8634c28f-cd6e-4194-9adb-07b67f83290e', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-20 20:30:20', 'Security', null, null, '0', null, '2024-02-20 20:30:20', null); |
| | | INSERT INTO `system_audittrail` VALUES ('86f60446-7fce-48a6-9c70-a8918d7c1975', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-22 10:50:06', 'Security', null, null, '0', null, '2024-02-22 10:50:06', null); |
| | | INSERT INTO `system_audittrail` VALUES ('87edae2b-f3c0-4d42-89c0-a44eef87fb7a', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-26 10:38:29', 'Security', null, null, '0', null, '2024-01-26 10:38:29', null); |
| | | INSERT INTO `system_audittrail` VALUES ('892098c5-bd5c-4a26-97b2-6bdd356774d7', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 15:30:00', 'Security', null, null, '0', null, '2024-01-06 15:30:00', null); |
| | | INSERT INTO `system_audittrail` VALUES ('8a41c566-7527-4091-9694-dff8e4a0a6ff', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-23 10:14:31', 'Security', null, null, '0', null, '2024-02-23 10:14:31', null); |
| | | INSERT INTO `system_audittrail` VALUES ('8a554be9-7981-4a53-b78b-d3a1a623b76d', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 08:44:54', 'Security', null, null, '0', null, '2024-02-01 08:44:54', null); |
| | | INSERT INTO `system_audittrail` VALUES ('8acc7e62-a375-4482-973c-b2325669559c', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-06 17:28:50', 'Security', null, null, '0', null, '2024-02-06 17:28:50', null); |
| | | INSERT INTO `system_audittrail` VALUES ('8cc9607c-66e5-45bf-995b-2a1d03a73f15', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 16:32:16', 'Security', null, null, '0', null, '2024-01-27 16:32:16', null); |
| | | INSERT INTO `system_audittrail` VALUES ('8e09e993-051a-4faf-a7a6-70a65bd0ba66', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 10:52:54', 'Security', null, null, '0', null, '2024-01-30 10:52:54', null); |
| | | INSERT INTO `system_audittrail` VALUES ('8e3bbf6a-efc5-4def-a11e-7bb59adecb8b', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-07 12:15:31', 'Security', null, null, '0', null, '2024-02-07 12:15:31', null); |
| | | INSERT INTO `system_audittrail` VALUES ('900801ea-9256-4f09-97dd-8d1fd20b73c5', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 20:58:20', 'Security', null, null, '0', null, '2024-01-06 20:58:20', null); |
| | | INSERT INTO `system_audittrail` VALUES ('9051df5e-6bcd-4c36-ab95-3d9c2fb0d454', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-24 15:15:04', 'Security', null, null, '0', null, '2024-01-24 15:15:04', null); |
| | | INSERT INTO `system_audittrail` VALUES ('91365c7a-2c78-4086-a932-5fbe7fa4be9f', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 11:08:45', 'Security', null, null, '0', null, '2024-02-01 11:08:45', null); |
| | | INSERT INTO `system_audittrail` VALUES ('96000a88-7314-4fab-b228-b4d91e9eab8e', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-24 11:13:01', 'Security', null, null, '0', null, '2024-01-24 11:13:01', null); |
| | | INSERT INTO `system_audittrail` VALUES ('974f62ee-0bab-40a3-9a2e-62d1daa50f6d', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 09:36:36', 'Security', null, null, '0', null, '2024-02-02 09:36:36', null); |
| | | INSERT INTO `system_audittrail` VALUES ('9abfbcd1-7e05-4b64-b20c-ada17d8af013', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-04 11:28:46', 'Security', null, null, '0', null, '2024-01-04 11:28:46', null); |
| | | INSERT INTO `system_audittrail` VALUES ('9acfbf7f-de68-4bb4-8d93-9947ec770b26', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-18 09:31:14', 'Security', null, null, '0', null, '2024-01-18 09:31:14', null); |
| | | INSERT INTO `system_audittrail` VALUES ('9b0b11da-6802-496c-b915-4e4f63d8a1e0', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 13:43:03', 'Security', null, null, '0', null, '2024-02-02 13:43:03', null); |
| | | INSERT INTO `system_audittrail` VALUES ('9bd851d6-780e-4fec-92e0-5b91776eff47', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-26 10:15:45', 'Security', null, null, '0', null, '2024-01-26 10:15:45', null); |
| | | INSERT INTO `system_audittrail` VALUES ('9c30c2b3-2dc4-47e3-a462-0b836ead38b3', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 13:51:47', 'Security', null, null, '0', null, '2024-01-27 13:51:47', null); |
| | | INSERT INTO `system_audittrail` VALUES ('9c7a1417-435a-46c1-905b-c73024a3366f', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 15:17:54', 'Security', null, null, '0', null, '2024-01-06 15:17:54', null); |
| | | INSERT INTO `system_audittrail` VALUES ('9d7433e1-f58a-47f7-8eb6-0c88e460e956', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 12:49:53', 'Security', null, null, '0', null, '2024-02-02 12:49:53', null); |
| | | INSERT INTO `system_audittrail` VALUES ('9f9326ed-c7ad-4a6b-8dbc-3cc58b76df5b', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-14 14:41:37', 'Security', null, null, '0', null, '2024-01-14 14:41:37', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a05ebc5b-aa50-4a90-997b-2c55b80503e5', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 13:53:01', 'Security', null, null, '0', null, '2024-01-27 13:53:01', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a1e017cb-06c3-445f-a4d2-49e022f3a9be', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 19:36:06', 'Security', null, null, '0', null, '2024-01-06 19:36:06', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a23b32de-ed1f-4a7c-81b4-d6f6c8aff3bc', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-06 18:36:47', 'Security', null, null, '0', null, '2024-02-06 18:36:47', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a2758e57-8e8e-4447-956b-634405f72577', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 20:59:33', 'Security', null, null, '0', null, '2024-01-06 20:59:33', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a427a68f-ee49-4dcb-904b-da772c540b6a', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-05 10:10:37', 'Security', null, null, '0', null, '2024-02-05 10:10:37', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a445d8ea-e017-4f56-b97d-6350e112391a', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-22 16:17:36', 'Security', null, null, '0', null, '2024-01-22 16:17:36', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a6b96de5-f40b-4bd3-bbb3-85e19634b073', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 13:17:01', 'Security', null, null, '0', null, '2024-02-02 13:17:01', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a6d90e0c-7886-4080-85dc-8cfb430a8d08', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-26 14:38:18', 'Security', null, null, '0', null, '2024-01-26 14:38:18', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a6fbc68a-e0a4-4fa5-b865-3e0b085f8cd5', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-05 17:36:14', 'Security', null, null, '0', null, '2024-02-05 17:36:14', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a70912ac-1939-4db8-9f9a-3ec6580219a7', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-05 14:32:07', 'Security', null, null, '0', null, '2024-02-05 14:32:07', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a7b602e1-5124-4e5f-8638-7577b647ca00', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-04 08:53:49', 'Security', null, null, '0', null, '2024-02-04 08:53:49', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a875a475-cba3-4991-b848-8693bb8b9660', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-20 13:57:53', 'Security', null, null, '0', null, '2024-02-20 13:57:53', null); |
| | | INSERT INTO `system_audittrail` VALUES ('a96763da-b341-48af-9d62-9b356e37721c', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-20 17:32:37', 'Security', null, null, '0', null, '2024-02-20 17:32:37', null); |
| | | INSERT INTO `system_audittrail` VALUES ('aaca4c8a-0fe0-4f92-b2e8-a83d06924b02', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-06 17:47:49', 'Security', null, null, '0', null, '2024-02-06 17:47:49', null); |
| | | INSERT INTO `system_audittrail` VALUES ('ac7ce9b6-96a9-4025-bd8b-6e69f6ddd897', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 10:00:42', 'Security', null, null, '0', null, '2024-02-02 10:00:42', null); |
| | | INSERT INTO `system_audittrail` VALUES ('ad7805ef-c107-422a-ac45-50e5d46a5712', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 18:13:21', 'Security', null, null, '0', null, '2024-02-18 18:13:21', null); |
| | | INSERT INTO `system_audittrail` VALUES ('ae9a75e2-49ab-4dcd-acca-1f8d5a8037b8', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-24 09:06:42', 'Security', null, null, '0', null, '2024-01-24 09:06:42', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b1e2e5ae-2045-4eb7-b7aa-4e14029620fd', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-18 18:32:02', 'Security', null, null, '0', null, '2024-02-18 18:32:02', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b1f32e93-3b5a-4433-87e8-34addc8b12a8', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-18 18:12:50', 'Security', null, null, '0', null, '2024-02-18 18:12:50', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b21241a3-01b8-4402-b3a1-2add86a80a62', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 14:27:49', 'Security', null, null, '0', null, '2024-02-02 14:27:49', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b21f14cc-965b-40eb-af5b-f9835918180b', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 10:19:27', 'Security', null, null, '0', null, '2024-02-02 10:19:27', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b2fbbd84-8f92-49e6-aa3c-3973b04aaecd', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 20:33:41', 'Security', null, null, '0', null, '2024-01-06 20:33:41', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b318c089-9217-476d-bf39-0095fd646494', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-18 10:39:56', 'Security', null, null, '0', null, '2024-01-18 10:39:56', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b33f16b3-5bce-4f74-81e8-86e9a17a4dce', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-20 13:55:43', 'Security', null, null, '0', null, '2024-02-20 13:55:43', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b4912da1-b362-4a92-92b6-b582bed276be', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 18:18:02', 'Security', null, null, '0', null, '2024-02-18 18:18:02', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b5c629b6-12a8-41fc-8911-011e451418db', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-06 17:59:38', 'Security', null, null, '0', null, '2024-02-06 17:59:38', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b5c797ef-a813-4ea7-b2c2-264a3ad81847', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 15:11:13', 'Security', null, null, '0', null, '2024-02-01 15:11:13', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b64604c0-b799-4fc0-b8c2-ac80d32e0d03', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 13:57:04', 'Security', null, null, '0', null, '2024-02-01 13:57:04', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b7248467-c1b4-4265-890c-cc71f4473590', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 13:42:31', 'Security', null, null, '0', null, '2024-02-02 13:42:31', null); |
| | | INSERT INTO `system_audittrail` VALUES ('b7e91c03-dfff-42d1-8848-95379f735a56', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-08 16:26:20', 'Security', null, null, '0', null, '2024-02-08 16:26:20', null); |
| | | INSERT INTO `system_audittrail` VALUES ('ba8f9204-c00b-4e74-8a90-2773da2029f1', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-24 15:24:55', 'Security', null, null, '0', null, '2024-01-24 15:24:55', null); |
| | | INSERT INTO `system_audittrail` VALUES ('bc8a79cb-71b4-4e5c-858d-cca61264de0a', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 15:07:33', 'Security', null, null, '0', null, '2024-02-01 15:07:33', null); |
| | | INSERT INTO `system_audittrail` VALUES ('bccd0426-d8b8-493c-8e7d-a9685743f23a', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 14:13:07', 'Security', null, null, '0', null, '2024-02-02 14:13:07', null); |
| | | INSERT INTO `system_audittrail` VALUES ('bd6ab6dd-e866-48c5-a2d8-f64c319150d5', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 13:57:16', 'Security', null, null, '0', null, '2024-02-02 13:57:16', null); |
| | | INSERT INTO `system_audittrail` VALUES ('be1a2223-3884-4535-8019-3dbc9e8adc36', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 15:34:30', 'Security', null, null, '0', null, '2024-01-27 15:34:30', null); |
| | | INSERT INTO `system_audittrail` VALUES ('be9c2a1b-7ad2-44a5-b11e-25b4ed4c310d', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 20:23:59', 'Security', null, null, '0', null, '2024-01-06 20:23:59', null); |
| | | INSERT INTO `system_audittrail` VALUES ('bffea401-3302-4223-b9b8-78afd8dd01fc', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-23 10:34:48', 'Security', null, null, '0', null, '2024-02-23 10:34:48', null); |
| | | INSERT INTO `system_audittrail` VALUES ('c223601d-e214-42b5-98b2-343cbe1d1624', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-08 10:30:43', 'Security', null, null, '0', null, '2024-02-08 10:30:43', null); |
| | | INSERT INTO `system_audittrail` VALUES ('c33345e2-6a93-4642-9238-ef1279efdf32', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 18:07:37', 'Security', null, null, '0', null, '2024-02-06 18:07:37', null); |
| | | INSERT INTO `system_audittrail` VALUES ('c4b2bff5-c959-40c6-a5cc-94d94a7de8e2', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 18:31:46', 'Security', null, null, '0', null, '2024-02-18 18:31:46', null); |
| | | INSERT INTO `system_audittrail` VALUES ('c5f8afa4-e408-4cbf-99cf-901a87df8556', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 14:13:08', 'Security', null, null, '0', null, '2024-02-01 14:13:08', null); |
| | | INSERT INTO `system_audittrail` VALUES ('c69e53bf-2f58-4a02-8431-9794595bc980', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 18:10:12', 'Security', null, null, '0', null, '2024-02-18 18:10:12', null); |
| | | INSERT INTO `system_audittrail` VALUES ('c75b1599-6bb1-4711-b23f-6f1191a45ebd', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 19:35:14', 'Security', null, null, '0', null, '2024-01-06 19:35:14', null); |
| | | INSERT INTO `system_audittrail` VALUES ('c81c411c-6d69-40fa-b006-c8fef6e8b017', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 12:59:26', 'Security', null, null, '0', null, '2024-02-02 12:59:26', null); |
| | | INSERT INTO `system_audittrail` VALUES ('c8419662-17bf-4546-96e7-348e7ede4eb7', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 10:27:22', 'Security', null, null, '0', null, '2024-02-02 10:27:22', null); |
| | | INSERT INTO `system_audittrail` VALUES ('ca710732-5bfb-4ebf-93bc-f9a5e16411cd', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 10:43:58', 'Security', null, null, '0', null, '2024-02-01 10:43:58', null); |
| | | INSERT INTO `system_audittrail` VALUES ('cabdbebd-294c-40f3-9e10-e4f42e7b412a', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-04 09:22:05', 'Security', null, null, '0', null, '2024-02-04 09:22:05', null); |
| | | INSERT INTO `system_audittrail` VALUES ('cb634711-5d75-4ecf-80cc-751c17b0878c', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 16:57:04', 'Security', null, null, '0', null, '2024-02-01 16:57:04', null); |
| | | INSERT INTO `system_audittrail` VALUES ('d030a171-6a71-407f-a7c4-281febcb8098', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-18 18:14:30', 'Security', null, null, '0', null, '2024-02-18 18:14:30', null); |
| | | INSERT INTO `system_audittrail` VALUES ('d22d870f-4b80-4b71-a060-3643cd2ba127', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-23 10:24:46', 'Security', null, null, '0', null, '2024-02-23 10:24:46', null); |
| | | INSERT INTO `system_audittrail` VALUES ('d2ee28f5-d390-48f9-88b5-1752bf2fa716', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 16:50:48', 'Security', null, null, '0', null, '2024-02-01 16:50:48', null); |
| | | INSERT INTO `system_audittrail` VALUES ('d3c502a4-a95f-449b-af54-2bec3df0f2c4', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-19 15:58:31', 'Security', null, null, '0', null, '2024-02-19 15:58:31', null); |
| | | INSERT INTO `system_audittrail` VALUES ('d5c0d14a-a50f-401c-ab8d-b7f1c5b5c28d', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 16:46:53', 'Security', null, null, '0', null, '2024-02-01 16:46:53', null); |
| | | INSERT INTO `system_audittrail` VALUES ('d61b0f2c-c685-4931-b397-3c3525d015ed', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 12:52:44', 'Security', null, null, '0', null, '2024-02-02 12:52:44', null); |
| | | INSERT INTO `system_audittrail` VALUES ('d8702633-8ed0-4e91-a06f-58b3d6fe56f6', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 15:01:19', 'Security', null, null, '0', null, '2024-02-02 15:01:19', null); |
| | | INSERT INTO `system_audittrail` VALUES ('d8b624b8-b1b7-47a3-bab3-a7627538ce9b', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-26 14:28:34', 'Security', null, null, '0', null, '2024-01-26 14:28:34', null); |
| | | INSERT INTO `system_audittrail` VALUES ('d8fbc717-d1b2-440a-a65e-be5f2aba96f4', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 20:40:55', 'Security', null, null, '0', null, '2024-01-06 20:40:55', null); |
| | | INSERT INTO `system_audittrail` VALUES ('da4db173-10a6-42fc-8bc0-473aa035412c', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 10:27:34', 'Security', null, null, '0', null, '2024-02-02 10:27:34', null); |
| | | INSERT INTO `system_audittrail` VALUES ('dcc3ce25-b556-4c88-9403-45c01f575278', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-10 10:41:46', 'Security', null, null, '0', null, '2024-02-10 10:41:46', null); |
| | | INSERT INTO `system_audittrail` VALUES ('dcd6bcc9-f69c-4649-9a4c-804b9870c2ce', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 11:29:39', 'Security', null, null, '0', null, '2024-02-01 11:29:39', null); |
| | | INSERT INTO `system_audittrail` VALUES ('dd4bd448-d73e-4f98-94dc-09942e9b8553', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-21 11:51:13', 'Security', null, null, '0', null, '2024-02-21 11:51:13', null); |
| | | INSERT INTO `system_audittrail` VALUES ('e11fb819-22b3-41a4-8391-a5b20ca92871', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-23 12:13:11', 'Security', null, null, '0', null, '2024-01-23 12:13:11', null); |
| | | INSERT INTO `system_audittrail` VALUES ('e1b0b3ff-51d6-495e-ad4e-66e4c5fd0975', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-26 10:16:39', 'Security', null, null, '0', null, '2024-01-26 10:16:39', null); |
| | | INSERT INTO `system_audittrail` VALUES ('e226a52a-ec33-4128-9050-f560895c08de', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-06 19:35:49', 'Security', null, null, '0', null, '2024-01-06 19:35:49', null); |
| | | INSERT INTO `system_audittrail` VALUES ('e53915ad-3d4b-436e-b673-971a925bc08c', 'Login', 'root', 'LOGIN', '127.0.0.1', '2024-02-18 18:14:04', 'Security', null, null, '0', null, '2024-02-18 18:14:04', null); |
| | | INSERT INTO `system_audittrail` VALUES ('e5ece7c4-ae63-47b1-bed5-1c25d1d60ccb', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 12:21:14', 'Security', null, null, '0', null, '2024-02-01 12:21:14', null); |
| | | INSERT INTO `system_audittrail` VALUES ('e63e631c-cb27-4307-b8a1-0563c0ab900b', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-07 09:57:44', 'Security', null, null, '0', null, '2024-02-07 09:57:44', null); |
| | | INSERT INTO `system_audittrail` VALUES ('e643ed63-4284-4b14-b9b3-97069f976584', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 15:08:08', 'Security', null, null, '0', null, '2024-02-01 15:08:08', null); |
| | | INSERT INTO `system_audittrail` VALUES ('e6a37a3b-2d4b-429a-a912-97823e0c3bab', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 16:17:24', 'Security', null, null, '0', null, '2024-01-27 16:17:24', null); |
| | | INSERT INTO `system_audittrail` VALUES ('e95465ae-b3ea-4b52-b44b-9ccf27961e52', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-08 10:29:52', 'Security', null, null, '0', null, '2024-02-08 10:29:52', null); |
| | | INSERT INTO `system_audittrail` VALUES ('ea32cd3f-fd68-401e-abfe-638c56e965b3', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 14:43:17', 'Security', null, null, '0', null, '2024-02-01 14:43:17', null); |
| | | INSERT INTO `system_audittrail` VALUES ('ec9f7047-31af-4147-a7d6-a0297be4b150', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-08 11:10:04', 'Security', null, null, '0', null, '2024-02-08 11:10:04', null); |
| | | INSERT INTO `system_audittrail` VALUES ('efffc13d-1b42-4152-954d-46a9b1f4403f', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-04 08:19:48', 'Security', null, null, '0', null, '2024-02-04 08:19:48', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f22a3ea1-8ef2-4a91-9c2e-f09c5495b506', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-04 11:31:41', 'Security', null, null, '0', null, '2024-01-04 11:31:41', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f2d2dfc7-bd67-4d1a-a5fc-e79cc319aedd', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 18:19:40', 'Security', null, null, '0', null, '2024-02-06 18:19:40', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f35dc69a-451d-4895-87e0-797ef58bb744', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 18:02:41', 'Security', null, null, '0', null, '2024-02-06 18:02:41', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f3b8e0d3-dc18-452c-9f1b-71d6a3a90916', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 14:46:20', 'Security', null, null, '0', null, '2024-02-06 14:46:20', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f68b23c0-6a2b-4514-b74b-cf2a0fed2d07', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-25 10:17:06', 'Security', null, null, '0', null, '2024-01-25 10:17:06', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f78cb856-e890-4b44-ad56-80554f5ca018', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-29 08:38:58', 'Security', null, null, '0', null, '2024-01-29 08:38:58', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f8476bde-a159-4a9a-b61c-3837c411b7fc', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-07 12:15:29', 'Security', null, null, '0', null, '2024-02-07 12:15:29', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f892c894-d66c-4507-8f04-3e2d5143a0c6', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-01 09:18:06', 'Security', null, null, '0', null, '2024-02-01 09:18:06', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f8cabf61-db52-4403-8dee-f8013d1e20a2', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-13 11:06:24', 'Security', null, null, '0', null, '2024-01-13 11:06:24', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f8ed4fec-0311-4e4a-b506-e480f1f85a71', 'Login', '2023003', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-06 09:07:08', 'Security', null, null, '0', null, '2024-02-06 09:07:08', null); |
| | | INSERT INTO `system_audittrail` VALUES ('f96067bc-32fb-4ece-b1d2-50f07064ea9a', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-07 11:18:07', 'Security', null, null, '0', null, '2024-02-07 11:18:07', null); |
| | | INSERT INTO `system_audittrail` VALUES ('fa17b1c7-229c-4f00-85b1-ab3f435db849', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 16:55:56', 'Security', null, null, '0', null, '2024-01-27 16:55:56', null); |
| | | INSERT INTO `system_audittrail` VALUES ('fb20d7b9-4e61-4db5-8403-81b5eb42bef3', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-27 15:45:20', 'Security', null, null, '0', null, '2024-01-27 15:45:20', null); |
| | | INSERT INTO `system_audittrail` VALUES ('fbaf05aa-b065-4c96-a21e-90b79f31029a', 'Login', '2023003', 'LOGIN', '127.0.0.1', '2024-02-08 10:32:37', 'Security', null, null, '0', null, '2024-02-08 10:32:37', null); |
| | | INSERT INTO `system_audittrail` VALUES ('fc0dc8a1-18da-40bd-b9bf-c97b9866f415', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 10:53:00', 'Security', null, null, '0', null, '2024-01-30 10:53:00', null); |
| | | INSERT INTO `system_audittrail` VALUES ('fc9b2671-f3e3-456e-a6d4-bc5e387403a4', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-29 08:40:57', 'Security', null, null, '0', null, '2024-01-29 08:40:57', null); |
| | | INSERT INTO `system_audittrail` VALUES ('fcb829ac-7bde-4567-8427-5fc23b54215f', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-02-02 09:51:10', 'Security', null, null, '0', null, '2024-02-02 09:51:10', null); |
| | | INSERT INTO `system_audittrail` VALUES ('fce845c2-cef0-4439-9b77-f2b2d76ed8fb', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-30 16:10:35', 'Security', null, null, '0', null, '2024-01-30 16:10:35', null); |
| | | INSERT INTO `system_audittrail` VALUES ('fea8db78-6cd1-4990-8290-da1dcda13b25', 'Login', 'root', 'LOGIN', '0:0:0:0:0:0:0:1', '2024-01-31 16:08:46', 'Security', null, null, '0', null, '2024-01-31 16:08:46', null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for system_config |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `system_config`; |
| | | CREATE TABLE `system_config` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `ckey` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | `cvalue` varchar(256) DEFAULT NULL COMMENT 'value', |
| | | `clevel` varchar(256) DEFAULT NULL COMMENT 'level', |
| | | `category` varchar(256) DEFAULT NULL COMMENT 'category', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of system_config |
| | | -- ---------------------------- |
| | | INSERT INTO `system_config` VALUES ('2e60c1ea-0644-4713-a527-0dd261e5c67e', 'zh_cn', '中文(简体)', '0', 'language', '0', '', '2023-03-13 12:28:09', '2023-03-14 15:58:07'); |
| | | INSERT INTO `system_config` VALUES ('76cb2112-f5f7-459f-8fde-4e515e9b87d3', 'en_us', 'English (United States)', '0', 'language', '0', '', '2023-03-13 12:27:43', '2023-03-14 15:58:10'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for system_mail_send_log |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `system_mail_send_log`; |
| | | CREATE TABLE `system_mail_send_log` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `uid` varchar(64) DEFAULT NULL, |
| | | `status` int(11) DEFAULT '0' COMMENT '0: pending,1: successful,2: failed', |
| | | `routeKey` varchar(255) DEFAULT NULL, |
| | | `exchange` varchar(255) DEFAULT NULL, |
| | | `count` int(11) DEFAULT '0' COMMENT 'retry count', |
| | | `tryTime` datetime DEFAULT NULL COMMENT 'first retry time', |
| | | `createTime` datetime DEFAULT NULL, |
| | | `updateTime` datetime DEFAULT NULL, |
| | | `username` varchar(128) DEFAULT NULL, |
| | | `account` varchar(128) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of system_mail_send_log |
| | | -- ---------------------------- |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for system_menu |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `system_menu`; |
| | | CREATE TABLE `system_menu` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL COMMENT 'name', |
| | | `url` varchar(256) DEFAULT NULL COMMENT 'link uri', |
| | | `path` varchar(256) DEFAULT NULL, |
| | | `component` varchar(256) DEFAULT NULL, |
| | | `type` int(2) DEFAULT NULL COMMENT 'undefined = 0, page = 1, menu = 2, button = 3', |
| | | `icon` varchar(256) DEFAULT NULL COMMENT 'icon of node', |
| | | `parentid` varchar(64) DEFAULT NULL COMMENT 'parent id', |
| | | `keepalive` tinyint(1) DEFAULT NULL COMMENT 'keep alive', |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `level` int(10) DEFAULT NULL, |
| | | `languagekey` varchar(64) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of system_menu |
| | | -- ---------------------------- |
| | | INSERT INTO `system_menu` VALUES ('05edffb5-6f23-4624-9032-270e16d53d43', 'Tue Jan 30 10:45:06 CST 2024', '历史订单', '/admin/order/HistoryOrder', '/admin/order/HistoryOrder', 'HistoryOrder', '2', 'order-history', '0d1a6c2d-34c7-4c10-ab8f-84fbba5db4bb', null, null, '', '2024-01-30 10:45:06', null, '1', 'HistoryOrder'); |
| | | INSERT INTO `system_menu` VALUES ('0d1a6c2d-34c7-4c10-ab8f-84fbba5db4bb', 'Tue Jan 30 10:43:18 CST 2024', '订单管理', '/admin/order', '/admin/order', 'LayoutAdmin', '2', 'order', null, null, null, '', '2024-01-30 10:43:18', null, '5', 'Order'); |
| | | INSERT INTO `system_menu` VALUES ('14f8dc1b-1e05-46c6-a898-378a7001fd69', 'Sat Jan 06 15:23:43 CST 2024', '题型管理', '/admin/question/QuestionCategory', '/admin/question/QuestionCategory', 'QuestionCategory', '2', 'question-category', '98aa2937-2d0e-4438-a6cc-9c8bb7080175', null, null, '', '2024-01-06 15:23:43', '2024-01-18 10:39:42', '1', 'QuestionCategory'); |
| | | INSERT INTO `system_menu` VALUES ('1a4e9f28-e32e-4781-be70-7235f19fccbc', 'Sat Jan 06 22:48:20 CST 2024', '历史优惠券', '/admin/vip/VIPCouponHistory', '/admin/vip/VIPCouponHistory', 'VIPCouponHistory', '2', 'coupon-history', 'dcd3a28d-df75-40fb-ba78-57dae14f6a0d', null, null, '', '2024-01-06 22:48:20', '2024-01-06 22:48:34', '1', 'VIPCouponHistory'); |
| | | INSERT INTO `system_menu` VALUES ('22be1ccc-8294-41ff-8e79-5443450558f6', 'Sat Jan 06 15:26:15 CST 2024', '试卷管理', '/admin/question/QuestionPaper', '/admin/question/QuestionPaper', 'QuestionPaper', '2', 'question-paper', '98aa2937-2d0e-4438-a6cc-9c8bb7080175', null, null, '', '2024-01-06 15:26:15', null, '4', 'QuestionPaper'); |
| | | INSERT INTO `system_menu` VALUES ('26f60c39-e0a0-4490-9565-ecdd73d27679', 'Fri Feb 23 10:19:35 CST 2024', '产品列表', '/admin/product/ProductMaster', '/admin/product/ProductMaster', 'ProductMaster', '2', 'product-master', '83bab001-0055-44a3-a83b-3ef121c235a0', null, null, '', '2024-02-23 10:19:35', '2024-02-23 10:19:50', '1', 'ProductMaster'); |
| | | INSERT INTO `system_menu` VALUES ('369931da-a696-47c8-bd68-b2e16b577f99', 'Tue Jan 30 10:44:13 CST 2024', '活动订单', '/admin/order/ActiveOrder', '/admin/order/ActiveOrder', 'ActiveOrder', '2', 'order-active', '0d1a6c2d-34c7-4c10-ab8f-84fbba5db4bb', null, null, '', '2024-01-30 10:44:13', null, '2', 'ActiveOrder'); |
| | | INSERT INTO `system_menu` VALUES ('3dd86f16-9d2e-4fd7-a5ae-19bd338857f7', 'MailSendLog', '邮件日志', '/admin/system/MailSendLog', '/admin/system/MailSendLog', 'MailSendLog', '2', 'email', 'b67fd674-3ac9-11eb-8afe-00163e033152', null, null, null, '2023-04-26 08:51:57', '2023-11-20 10:15:01', '6', 'MailSendLog'); |
| | | INSERT INTO `system_menu` VALUES ('512c4b10-f763-4f91-95aa-1e4cf61f8d03', 'Fri Feb 23 10:20:51 CST 2024', '品牌管理', '/admin/product/ProductBrand', '/admin/product/ProductBrand', 'ProductBrand', '2', 'product-brand', '83bab001-0055-44a3-a83b-3ef121c235a0', null, null, '', '2024-02-23 10:20:51', null, '2', 'ProductBrand'); |
| | | INSERT INTO `system_menu` VALUES ('56972411-c9eb-4e6f-8942-b619a1955c28', 'Sat Jan 06 15:27:10 CST 2024', '试卷类别', '/admin/question/QuestionPaperCategory', '/admin/question/QuestionPaperCategory', 'QuestionPaperCategory', '2', 'question-paper-category', '98aa2937-2d0e-4438-a6cc-9c8bb7080175', null, null, '', '2024-01-06 15:27:10', '2024-01-18 10:39:33', '3', 'QuestionPaperCategory'); |
| | | INSERT INTO `system_menu` VALUES ('5a5a2d38-4673-4975-899a-c89911b3f73e', 'Fri Feb 23 10:22:25 CST 2024', '产品类别', '/admin/product/ProductCategory', '/admin/product/ProductCategory', 'ProductCategory', '2', 'product-category', '83bab001-0055-44a3-a83b-3ef121c235a0', null, null, '', '2024-02-23 10:22:25', null, '3', 'ProductCategory'); |
| | | INSERT INTO `system_menu` VALUES ('73d6d881-3acf-11eb-8afe-00163e033152', 'MenuList', '菜单管理', '/admin/system/Menu', '/admin/system/Menu', 'Menu', '2', 'menu', 'b67fd674-3ac9-11eb-8afe-00163e033152', '1', '0', null, '2020-12-30 10:32:09', '2022-12-28 15:32:58', '1', 'MenuList'); |
| | | INSERT INTO `system_menu` VALUES ('839236b7-2781-4e18-836a-cb977a947afa', 'Thu Jan 04 22:53:16 CST 2024', '院系管理', '/admin/organization/OrganizationDepartment', '/admin/organization/OrganizationDepartment', 'OrganizationDepartment', '2', 'organization-department', 'b2ded452-945c-4e0e-a43b-be5bfae2a24c', null, null, '', '2024-01-04 22:53:16', '2024-01-18 10:38:44', '4', 'OrganizationDepartment'); |
| | | INSERT INTO `system_menu` VALUES ('83bab001-0055-44a3-a83b-3ef121c235a0', 'Fri Feb 23 10:18:17 CST 2024', '产品管理', '/admin/product', '/admin/product', 'LayoutAdmin', '2', 'product', null, null, null, '', '2024-02-23 10:18:17', '2024-02-23 10:18:45', '6', 'Product'); |
| | | INSERT INTO `system_menu` VALUES ('933826d4-8bfb-4053-8502-b0c7a428b3b3', 'Sat Jan 06 22:47:28 CST 2024', '优惠券列表', '/admin/vip/VIPCouponActive', '/admin/vip/VIPCouponActive', 'VIPCouponActive', '2', 'coupon-active', 'dcd3a28d-df75-40fb-ba78-57dae14f6a0d', null, null, '', '2024-01-06 22:47:28', null, '2', 'VIPCouponActive'); |
| | | INSERT INTO `system_menu` VALUES ('98aa2937-2d0e-4438-a6cc-9c8bb7080175', 'Sat Jan 06 15:20:50 CST 2024', '试题管理', '/admin/question', '/admin/question', 'LayoutAdmin', '2', 'question', null, null, null, '', '2024-01-06 15:20:50', '2024-01-29 13:59:44', '4', 'Question'); |
| | | INSERT INTO `system_menu` VALUES ('98aefb60-e1de-43d7-94f6-54baaa38961e', 'Mon Jan 29 14:00:43 CST 2024', '会员充值活动', '/admin/vip/VIPDepositActivity', '/admin/vip/VIPDepositActivity', 'VIPDepositActivity', '2', 'deposit-activity', 'dcd3a28d-df75-40fb-ba78-57dae14f6a0d', null, null, '', '2024-01-29 14:00:43', '2024-01-29 14:24:02', '5', 'VIPDepositActivity'); |
| | | INSERT INTO `system_menu` VALUES ('9b09c4c5-4c5b-4cfd-9d54-9d528ae378e5', 'Fri Feb 23 10:21:33 CST 2024', '供应商管理', '/admin/product/ProductSupplier', '/admin/product/ProductSupplier', 'ProductSupplier', '2', 'product-supplier', '83bab001-0055-44a3-a83b-3ef121c235a0', null, null, '', '2024-02-23 10:21:33', null, '3', 'ProductSupplier'); |
| | | INSERT INTO `system_menu` VALUES ('a0d6cd97-33d3-4907-ad1d-3c088e5a0563', 'Sat Jan 06 15:41:56 CST 2024', '会员列表', '/admin/vip/VIPMaster', '/admin/vip/VIPMaster', 'VIPMaster', '2', 'vip-master', 'dcd3a28d-df75-40fb-ba78-57dae14f6a0d', null, null, '', '2024-01-06 15:41:56', '2024-01-06 22:48:41', '3', 'VIPMaster'); |
| | | INSERT INTO `system_menu` VALUES ('a5e4dad9-69da-4b01-8da5-e05cc48de8ac', 'Config', '配置管理', '/admin/system/Config', '/admin/system/Config', 'Config', '2', 'configuration', 'b67fd674-3ac9-11eb-8afe-00163e033152', null, null, null, '2023-03-13 10:40:34', '2024-01-06 20:58:14', '4', 'Config'); |
| | | INSERT INTO `system_menu` VALUES ('b2ded452-945c-4e0e-a43b-be5bfae2a24c', 'Thu Jan 04 22:42:57 CST 2024', '组织结构', '/admin/organization', '/admin/organization', 'LayoutAdmin', '2', 'organization', null, null, null, '', '2024-01-04 22:42:57', '2024-01-04 22:54:08', '2', 'Organization'); |
| | | INSERT INTO `system_menu` VALUES ('b667fc7f-3ac9-11eb-8afe-00163e033152', 'AuditTrail', '审计追踪', '/admin/system/AuditTrail', '/admin/system/AuditTrail', 'AuditTrail', '0', 'audittrail', 'b67fd674-3ac9-11eb-8afe-00163e033152', '0', '0', null, '2022-08-08 14:07:00', '2022-12-28 15:31:54', '3', 'AuditTrail'); |
| | | INSERT INTO `system_menu` VALUES ('b678a830-3ac9-11eb-8afe-00163e033152', 'Log', '日志', '/admin/system/Log', '/admin/system/Log', 'Log', '2', 'systemlog', 'b67fd674-3ac9-11eb-8afe-00163e033152', '0', '0', null, '2020-12-30 10:32:09', '2022-12-28 15:31:46', '2', 'Log'); |
| | | INSERT INTO `system_menu` VALUES ('b67fd674-3ac9-11eb-8afe-00163e033152', 'SystemSettings', '系统设置', '/admin/system', '/admin/system', 'LayoutAdmin', '2', 'settings', null, '0', '0', null, '2020-12-30 10:32:09', '2024-01-06 20:57:36', '1', 'SystemSettings'); |
| | | INSERT INTO `system_menu` VALUES ('b9c13a9e-858b-4326-85c8-0cb6136c4519', 'Sat Jan 06 15:22:52 CST 2024', '试题库', '/admin/question/QuestionMaster', '/admin/question/QuestionMaster', 'QuestionMaster', '2', 'question-master', '98aa2937-2d0e-4438-a6cc-9c8bb7080175', null, null, '', '2024-01-06 15:22:52', '2024-01-18 10:39:46', '2', 'QuestionMaster'); |
| | | INSERT INTO `system_menu` VALUES ('d27cb44b-c1be-40b8-836e-11cc912dc8ab', 'Notification', '系统通知', '/admin/system/Notification', '/admin/system/Notification', 'Notification', '2', 'notification', 'b67fd674-3ac9-11eb-8afe-00163e033152', null, null, null, '2023-03-18 22:59:57', '2023-11-20 10:15:03', '5', 'Notification'); |
| | | INSERT INTO `system_menu` VALUES ('dcd3a28d-df75-40fb-ba78-57dae14f6a0d', 'Sat Jan 06 15:41:06 CST 2024', '会员管理', '/admin/vip', '/admin/vip', 'LayoutAdmin', '2', 'vip', null, null, null, '', '2024-01-06 15:41:06', '2024-01-29 13:59:37', '3', 'VIP'); |
| | | INSERT INTO `system_menu` VALUES ('e6e98c21-f37a-4dc2-89ec-85266fb5251b', 'Sat Jan 06 15:19:45 CST 2024', '专业管理', '/admin/organization/OrganizationMajor', '/admin/organization/OrganizationMajor', 'OrganizationMajor', '2', 'organization-major', 'b2ded452-945c-4e0e-a43b-be5bfae2a24c', null, null, '', '2024-01-06 15:19:45', null, '3', 'OrganizationMajor'); |
| | | INSERT INTO `system_menu` VALUES ('edf03e6c-81e1-48c5-a6a2-a77bfd5dfe9e', 'Thu Jan 04 22:51:33 CST 2024', '学校管理', '/admin/organization/OrganizationMaster', '/admin/organization/OrganizationMaster', 'OrganizationMaster', '2', 'organization-master', 'b2ded452-945c-4e0e-a43b-be5bfae2a24c', null, null, '', '2024-01-04 22:51:33', '2024-01-18 10:38:36', '5', 'OrganizationMaster'); |
| | | INSERT INTO `system_menu` VALUES ('fdb522fa-feec-4024-83ce-34cee78c13bb', 'Sat Jan 06 15:25:07 CST 2024', '科目管理', '/admin/question/QuestionSubject', '/admin/question/QuestionSubject', 'QuestionSubject', '2', 'question-subject', '98aa2937-2d0e-4438-a6cc-9c8bb7080175', null, null, '', '2024-01-06 15:25:07', '2024-01-18 10:38:59', '5', 'QuestionSubject'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for system_notification |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `system_notification`; |
| | | CREATE TABLE `system_notification` ( |
| | | `id` varchar(64) NOT NULL COMMENT 'id', |
| | | `title` varchar(256) DEFAULT NULL COMMENT 'key', |
| | | `context` text COMMENT 'value', |
| | | `department` varchar(256) DEFAULT NULL COMMENT 'level', |
| | | `category` varchar(256) DEFAULT NULL COMMENT 'category', |
| | | `nlevel` int(11) DEFAULT NULL, |
| | | `keywords` varchar(256) DEFAULT NULL, |
| | | `actionby` varchar(126) DEFAULT NULL, |
| | | `status` int(11) DEFAULT NULL, |
| | | `publisher` varchar(128) DEFAULT NULL, |
| | | `publishdatetime` datetime DEFAULT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of system_notification |
| | | -- ---------------------------- |
| | | INSERT INTO `system_notification` VALUES ('a805a0c8-1aa1-47ca-9455-086fdf32211b', '系统内部调整通知', '<p>sfdafdsa </p>', 'IT', 'Adjust', '1', 'Internal Adjust', '', '1', '', null, '0', '', '2023-12-15 16:46:37', '2023-12-21 10:34:50'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for vip_coupon_active |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `vip_coupon_active`; |
| | | CREATE TABLE `vip_coupon_active` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `status` int(11) DEFAULT NULL COMMENT '状态', |
| | | `type` int(11) DEFAULT NULL COMMENT '优惠券类型', |
| | | `activityname` varchar(256) DEFAULT NULL COMMENT '活动名称', |
| | | `code` varchar(64) DEFAULT NULL COMMENT '优惠券号', |
| | | `distributioncondition` varchar(255) DEFAULT NULL COMMENT '领取条件', |
| | | `amount` decimal(18,5) DEFAULT NULL COMMENT '面值', |
| | | `discount` decimal(18,5) DEFAULT NULL, |
| | | `discountrate` decimal(18,5) DEFAULT NULL COMMENT '折扣率', |
| | | `validdatefrom` datetime DEFAULT NULL COMMENT '有效期开始时间', |
| | | `validdateto` datetime DEFAULT NULL COMMENT '有效期结束时间', |
| | | `issuingtime` datetime DEFAULT NULL COMMENT '发放时间', |
| | | `usagetime` datetime DEFAULT NULL COMMENT '使用时间', |
| | | `orderno` varchar(256) DEFAULT NULL COMMENT '使用订单号', |
| | | `masterid` varchar(64) DEFAULT NULL, |
| | | `mastercode` varchar(64) DEFAULT NULL, |
| | | `mastername` varchar(128) DEFAULT NULL COMMENT '姓名', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of vip_coupon_active |
| | | -- ---------------------------- |
| | | INSERT INTO `vip_coupon_active` VALUES ('83f72f40-3ecd-427c-82ef-8a81635faaa0', null, '', '2024-01-29 15:31:02', '2024-01-29 15:48:07', '0', '2', '春节代金券', 'M0000001', '', '100.00000', '10.00000', '0.20000', '2024-01-29 08:00:00', '2024-01-31 08:00:00', null, null, null, null, null, null); |
| | | INSERT INTO `vip_coupon_active` VALUES ('8f54c3b7-9ab5-479c-866a-3a8bef3f909a', null, '', '2024-02-02 16:22:04', null, '0', '0', '春节狂欢节', 'M0000002', '', null, '1.00000', null, null, null, null, null, null, null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for vip_coupon_history |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `vip_coupon_history`; |
| | | CREATE TABLE `vip_coupon_history` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `status` int(11) DEFAULT NULL COMMENT '状态', |
| | | `type` int(11) DEFAULT NULL COMMENT '优惠券类型', |
| | | `activityname` varchar(256) DEFAULT NULL COMMENT '活动名称', |
| | | `code` varchar(64) DEFAULT NULL COMMENT '优惠券号', |
| | | `distributioncondition` varchar(255) DEFAULT NULL COMMENT '领取条件', |
| | | `amount` decimal(18,5) DEFAULT NULL COMMENT '面值', |
| | | `discount` decimal(18,5) DEFAULT NULL, |
| | | `discountrate` decimal(18,5) DEFAULT NULL COMMENT '折扣率', |
| | | `validdatefrom` datetime DEFAULT NULL COMMENT '有效期开始时间', |
| | | `validdateto` datetime DEFAULT NULL COMMENT '有效期结束时间', |
| | | `issuingtime` datetime DEFAULT NULL COMMENT '发放时间', |
| | | `usagetime` datetime DEFAULT NULL COMMENT '使用时间', |
| | | `orderno` varchar(256) DEFAULT NULL COMMENT '使用订单号', |
| | | `masterid` varchar(64) DEFAULT NULL, |
| | | `mastercode` varchar(64) DEFAULT NULL, |
| | | `mastername` varchar(128) DEFAULT NULL COMMENT '姓名', |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of vip_coupon_history |
| | | -- ---------------------------- |
| | | INSERT INTO `vip_coupon_history` VALUES ('bed69e9d-f14e-4583-8ded-69ec34226e62', '0', '', '2022-11-15 15:11:38', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `vip_coupon_history` VALUES ('cdae7880-7708-4d10-aedf-dddcd06eefd8', '0', null, '2022-11-16 15:21:56', '2022-11-16 15:40:49', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | INSERT INTO `vip_coupon_history` VALUES ('fc155403-3bf5-4de5-9a20-99b9a3211d6d', '0', null, '2022-12-06 14:31:02', null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for vip_deposit_activity |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `vip_deposit_activity`; |
| | | CREATE TABLE `vip_deposit_activity` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `status` int(11) DEFAULT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(256) DEFAULT NULL, |
| | | `name` varchar(256) DEFAULT NULL, |
| | | `description` varchar(1024) DEFAULT NULL, |
| | | `amount` decimal(18,5) DEFAULT NULL, |
| | | `discount` decimal(18,5) DEFAULT NULL, |
| | | `present` decimal(18,5) DEFAULT NULL, |
| | | `discountrate` decimal(18,5) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of vip_deposit_activity |
| | | -- ---------------------------- |
| | | INSERT INTO `vip_deposit_activity` VALUES ('7323a345-7796-4800-b80b-c7b4ca87f10a', '0', '0', null, '2024-01-29 11:55:03', '2024-01-29 14:30:40', 'V0000001', '50', '充50送10', '50.00000', '0.00000', '0.00000', '0.75000'); |
| | | INSERT INTO `vip_deposit_activity` VALUES ('b1a5ca4e-ecad-420f-8049-c7897e9b09b5', '0', '0', null, '2024-01-29 11:56:09', '2024-02-21 10:21:37', 'V0000002', '0.1', '', '0.10000', '0.00000', '0.00000', '0.10000'); |
| | | INSERT INTO `vip_deposit_activity` VALUES ('d632c76b-b547-4556-bce0-7276100a905c', '0', '0', null, '2024-01-29 11:56:57', '2024-01-29 14:29:32', 'V0000003', '100', '充100送高级VIP', '100.00000', '0.00000', '0.00000', '0.85000'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for vip_master |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `vip_master`; |
| | | CREATE TABLE `vip_master` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `code` varchar(64) DEFAULT NULL, |
| | | `name` varchar(128) DEFAULT NULL COMMENT '姓名', |
| | | `diamondtype` int(11) DEFAULT NULL COMMENT '会员等级', |
| | | `type` int(11) DEFAULT NULL COMMENT '类型', |
| | | `discountrate` decimal(18,5) DEFAULT NULL COMMENT '折扣', |
| | | `idcard` varchar(64) DEFAULT NULL COMMENT '身份证号', |
| | | `gender` tinyint(1) DEFAULT NULL COMMENT '性别', |
| | | `birthday` datetime DEFAULT NULL COMMENT '出生日期', |
| | | `openid` varchar(64) DEFAULT NULL, |
| | | `nickname` varchar(128) DEFAULT NULL, |
| | | `language` varchar(64) DEFAULT NULL, |
| | | `city` varchar(128) DEFAULT NULL, |
| | | `province` varchar(128) DEFAULT NULL, |
| | | `country` varchar(128) DEFAULT NULL, |
| | | `avatarurl` varchar(1024) DEFAULT NULL, |
| | | `cellphone` varchar(64) DEFAULT NULL, |
| | | `token` varchar(1024) DEFAULT NULL, |
| | | `password` varchar(128) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of vip_master |
| | | -- ---------------------------- |
| | | INSERT INTO `vip_master` VALUES ('0d9d1d9c-9be8-4dc1-9102-be8b10110c27', '0', null, '2024-01-24 10:09:07', '2024-02-19 09:44:34', 'V0000001', '你瞅啥!', '3', null, null, null, '1', null, 'oTpYX5CAjqlHAd40oY_NHn5M5VYQ', '你瞅啥!', null, null, null, null, 'https://www.farriver.top:443/static/picture//873b803f-d485-4324-89c1-1e78781ee6d1-20240219094423.jpg', '15122116943', null, null); |
| | | INSERT INTO `vip_master` VALUES ('5a25fcac-9204-4dad-80da-afe71e0c711c', '0', '', '2024-02-06 15:48:02', '2024-02-19 09:46:14', 'V0000003', 'A', '1', null, '0.80000', null, '0', '2024-02-19 00:00:00', null, '花花', null, '天津', '天津', '中国', 'https://www.farriver.top:443/static/picture//0c9b7ee6-49fc-4d3a-8f19-c8f49ed5f04e-20240219093757.jpg', '18222062609', null, null); |
| | | INSERT INTO `vip_master` VALUES ('7c1c595c-4946-4eb3-b34e-f896f2a94d0b', '0', null, '2024-01-24 09:58:43', '2024-02-06 15:28:16', 'V0000002', null, '2', null, null, null, null, null, 'oTpYX5D2LTRnAEH300ZqPep6_eso', '微信用户', null, null, null, null, 'https://thirdwx.qlogo.cn/mmopen/vi_32/POgEwh4mIHO4nibH0KlMECNjjGxQUq24ZEaGT4poC6icRiccVGKSyXwibcPq4BWmiaIGuG1icwxaQX6grC9VemZoJ8rg/132', null, null, null); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for vip_master_organization |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `vip_master_organization`; |
| | | CREATE TABLE `vip_master_organization` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `masterid` varchar(64) DEFAULT NULL, |
| | | `mastercode` varchar(64) DEFAULT NULL, |
| | | `mastername` varchar(128) DEFAULT NULL COMMENT '姓名', |
| | | `organizationid` varchar(64) DEFAULT NULL, |
| | | `organizationname` varchar(256) DEFAULT NULL, |
| | | `organizationcode` varchar(256) DEFAULT NULL, |
| | | `departmentid` varchar(64) DEFAULT NULL, |
| | | `departmentname` varchar(256) DEFAULT NULL, |
| | | `departmentcode` varchar(256) DEFAULT NULL, |
| | | `majorid` varchar(64) DEFAULT NULL, |
| | | `majorname` varchar(256) DEFAULT NULL, |
| | | `majorcode` varchar(256) DEFAULT NULL, |
| | | `gradeid` varchar(64) DEFAULT NULL, |
| | | `gradename` varchar(256) DEFAULT NULL, |
| | | `gradecode` varchar(256) DEFAULT NULL, |
| | | `classid` varchar(64) DEFAULT NULL, |
| | | `classname` varchar(256) DEFAULT NULL, |
| | | `classcode` varchar(256) DEFAULT NULL, |
| | | `updatecount` int(11) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of vip_master_organization |
| | | -- ---------------------------- |
| | | INSERT INTO `vip_master_organization` VALUES ('31bf9add-6d9e-4ad2-995d-3e7a252136c3', '0', null, '2024-01-21 23:36:56', '2024-02-20 14:07:10', '0d9d1d9c-9be8-4dc1-9102-be8b10110c27', null, '你瞅啥!', 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003', '5b718983-9508-40f4-aeba-22aad1b55e47', '电子信息与科学', 'M007', null, null, null, null, null, null, '12'); |
| | | INSERT INTO `vip_master_organization` VALUES ('5df9f2d6-d6db-4155-8517-b8af4d55d3b7', '0', null, '2024-01-25 11:27:41', '2024-02-07 11:32:56', '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, 'fd53196d-a456-4801-a524-bbed67104056', '麻省理工大学', 'B0002', 'e27244bc-8240-4b12-bef2-003ded033148', '工商管理学院', 'D003', '5b718983-9508-40f4-aeba-22aad1b55e47', '电子信息与科学', 'M007', null, null, null, null, null, null, '2'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for vip_master_paper_relation |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `vip_master_paper_relation`; |
| | | CREATE TABLE `vip_master_paper_relation` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `masterid` varchar(64) DEFAULT NULL, |
| | | `mastercode` varchar(64) DEFAULT NULL, |
| | | `mastername` varchar(128) DEFAULT NULL COMMENT '姓名', |
| | | `paperid` varchar(64) DEFAULT NULL, |
| | | `papercode` varchar(64) DEFAULT NULL, |
| | | `papername` varchar(128) DEFAULT NULL COMMENT '姓名', |
| | | `buyedtime` datetime DEFAULT NULL, |
| | | `amount` decimal(18,5) DEFAULT NULL, |
| | | `status` int(11) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of vip_master_paper_relation |
| | | -- ---------------------------- |
| | | INSERT INTO `vip_master_paper_relation` VALUES ('1f9eb506-dc3c-41e2-a9c2-226a6b2bbf1d', '0', null, '2024-01-31 15:06:45', '2024-01-31 15:07:00', '0d9d1d9c-9be8-4dc1-9102-be8b10110c27', null, null, '3a4cfd45-9303-4ed6-97cd-a50a7ce967c4', null, '实训答辩', '2024-01-31 15:06:45', '0.10000', '2'); |
| | | |
| | | -- ---------------------------- |
| | | -- Table structure for vip_master_wallet |
| | | -- ---------------------------- |
| | | DROP TABLE IF EXISTS `vip_master_wallet`; |
| | | CREATE TABLE `vip_master_wallet` ( |
| | | `id` varchar(64) NOT NULL, |
| | | `isdeleted` tinyint(1) DEFAULT NULL COMMENT 'isdeleted or not', |
| | | `remark` varchar(1024) DEFAULT NULL COMMENT 'remark', |
| | | `createtime` datetime DEFAULT NULL COMMENT 'create time', |
| | | `updatetime` datetime DEFAULT NULL COMMENT 'latest update time', |
| | | `masterid` varchar(64) DEFAULT NULL, |
| | | `mastercode` varchar(64) DEFAULT NULL, |
| | | `mastername` varchar(128) DEFAULT NULL COMMENT '姓名', |
| | | `balance` decimal(18,5) DEFAULT NULL, |
| | | `status` int(11) DEFAULT NULL, |
| | | PRIMARY KEY (`id`) |
| | | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
| | | |
| | | -- ---------------------------- |
| | | -- Records of vip_master_wallet |
| | | -- ---------------------------- |
| | | INSERT INTO `vip_master_wallet` VALUES ('1b7f1c0f-1d5e-42f6-98a0-55cbada15ed6', '0', null, '2024-01-29 11:40:59', '2024-02-20 14:13:49', '7c1c595c-4946-4eb3-b34e-f896f2a94d0b', null, null, '160.02000', null); |
| | | INSERT INTO `vip_master_wallet` VALUES ('78283ade-53c7-4150-babc-a92e1a7ec3bb', '0', null, '2024-01-29 17:15:28', '2024-01-31 15:06:45', '0d9d1d9c-9be8-4dc1-9102-be8b10110c27', null, null, '48.95000', null); |
| New file |
| | |
| | | ## Database design specification |
| | | 01-Draft: for draft document. |
| | | 02-Review: for project manager to comment and review. |
| | | 03-Submitted: Submitted for customer to comment and approve. |
| | | |
| | | |
| | | |
| New file |
| | |
| | | ## Database design specification |
| | | 01-Draft: for draft document. |
| | | 02-Review: for project manager to comment and review. |
| | | 03-Submitted: Submitted for customer to comment and approve. |
| | | |
| | | |
| | | |
| New file |
| | |
| | | ## Database design specification |
| | | 01-Draft: for draft document. |
| | | 02-Review: for project manager to comment and review. |
| | | 03-Submitted: Submitted for customer to comment and approve. |
| | | |
| | | |
| | | |
| New file |
| | |
| | | ## Database design specification |
| | | 01-Draft: for draft document. |
| | | 02-Review: for project manager to comment and review. |
| | | 03-Submitted: Submitted for customer to comment and approve. |
| | | |
| | | |
| | | |
| New file |
| | |
| | | ## Database design specification |
| | | 01-Draft: for draft document. |
| | | 02-Review: for project manager to comment and review. |
| | | 03-Submitted: Submitted for customer to comment and approve. |
| | | |
| | | |
| | | |
| New file |
| | |
| | | ## System Function design specification |
| | | 01-Draft: for draft document. |
| | | 02-Review: for project manager to comment and review. |
| | | 03-Submitted: Submitted FDS to customer to comment and approve. |
| | | |
| | | |
| | | |
| New file |
| | |
| | | ## System Function design specification |
| | | 01-Draft: for draft document. |
| | | 02-Review: for project manager to comment and review. |
| | | 03-Submitted: Submitted FDS to customer to comment and approve. |
| | | |
| | | |
| | | |
| New file |
| | |
| | | ## System Function design specification |
| | | 01-Draft: for draft document. |
| | | 02-Review: for project manager to comment and review. |
| | | 03-Submitted: Submitted FDS to customer to comment and approve. |
| | | |
| | | |
| | | |
| New file |
| | |
| | | ## FR-BWF 知识库系统 (knowledge-based systems, KBSes) |
| | | |
| | | 开发环境 |
| | | |
| | | IDEA 2023.3.4 |
| | | JDK corretto-17.0.10 |
| | | apache-tomcat-11.0.0-M18 |
| | | nacos-server-2.3.1 |
| | | nginx-1.21.3 |
| | | mysql 8 |
| | | Redis-x64-3.2.100 |
| | | rabbitmq_server-3.8.8 |
| | | |
| | | web的配置再nacos服务中集中配置 |
| | | |
| | | 启动 web 方式: |
| | | Edit Configurations-> 点击‘+’ 添加 Spring Boot 启动方式 -> 选择JDK 和启动类 -> 添加 VM Option配置:-Dspring.cloud.bootstrap.enabled=true |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| | | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| | | <modelVersion>4.0.0</modelVersion> |
| | | <packaging>jar</packaging> |
| | | <groupId>com.farriver.bwf.common</groupId> |
| | | <artifactId>common</artifactId> |
| | | <version>${revision}</version> |
| | | <parent> |
| | | <artifactId>bwf</artifactId> |
| | | <groupId>com.farriver.bwf</groupId> |
| | | <version>${revision}</version> |
| | | <relativePath>../pom.xml</relativePath> |
| | | </parent> |
| | | <dependencies> |
| | | </dependencies> |
| | | </project> |
| New file |
| | |
| | | package com.farriver.bwf.common.model; |
| | | |
| | | public class ApiData { |
| | | private Integer code; |
| | | private String status; |
| | | private String message; |
| | | private Object data; |
| | | |
| | | public Integer getCode() { |
| | | return code; |
| | | } |
| | | |
| | | public void setCode(Integer code) { |
| | | this.code = code; |
| | | } |
| | | |
| | | public String getStatus() { |
| | | return status; |
| | | } |
| | | |
| | | public void setStatus(String status) { |
| | | this.status = status; |
| | | } |
| | | |
| | | public String getMessage() { |
| | | return message; |
| | | } |
| | | |
| | | public void setMessage(String message) { |
| | | this.message = message; |
| | | } |
| | | |
| | | public Object getData() { |
| | | return data; |
| | | } |
| | | |
| | | public void setData(Object data) { |
| | | this.data = data; |
| | | } |
| | | |
| | | |
| | | private ApiData() { |
| | | |
| | | } |
| | | |
| | | public ApiData(Integer code, String status, String message, Object data) { |
| | | this.code = code; |
| | | this.status = status; |
| | | this.message = message; |
| | | this.data = data; |
| | | } |
| | | |
| | | public static ApiData build() { |
| | | return new ApiData(); |
| | | } |
| | | |
| | | public static ApiData ok(String message) { |
| | | return new ApiData(200, ApiDataStatus.SUCCESS.toString(), message, null); |
| | | } |
| | | |
| | | public static ApiData ok(String message, Object data) { |
| | | return new ApiData(200, ApiDataStatus.SUCCESS.toString(), message, data); |
| | | } |
| | | |
| | | public static ApiData unauthorized(String message) { |
| | | return new ApiData(401, ApiDataStatus.UNAUTHORIZED.toString(), message, null); |
| | | } |
| | | |
| | | public static ApiData error(String message) { |
| | | return new ApiData(500, ApiDataStatus.FAILED.toString(), message, null); |
| | | } |
| | | |
| | | public static ApiData error(String message, Object obj) { |
| | | return new ApiData(500, ApiDataStatus.FAILED.toString(), message, obj); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.model; |
| | | |
| | | public enum ApiDataStatus { |
| | | SUCCESS, |
| | | FAILED, |
| | | CANCELLED, |
| | | UNAUTHORIZED, |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.model; |
| | | |
| | | public class ApiPageData { |
| | | private Integer code; |
| | | private String status; |
| | | private String message; |
| | | private Object data; |
| | | private Object total; |
| | | private Integer pageIndex; |
| | | private Integer pageSize; |
| | | |
| | | public Integer getCode() { |
| | | return code; |
| | | } |
| | | |
| | | public void setCode(Integer code) { |
| | | this.code = code; |
| | | } |
| | | |
| | | public String getStatus() { |
| | | return status; |
| | | } |
| | | |
| | | public void setStatus(String status) { |
| | | this.status = status; |
| | | } |
| | | |
| | | public String getMessage() { |
| | | return message; |
| | | } |
| | | |
| | | public void setMessage(String message) { |
| | | this.message = message; |
| | | } |
| | | |
| | | public Object getData() { |
| | | return data; |
| | | } |
| | | |
| | | public void setData(Object data) { |
| | | this.data = data; |
| | | } |
| | | |
| | | public Object getTotal() { |
| | | return total; |
| | | } |
| | | |
| | | public void setTotal(Object total) { |
| | | this.total = total; |
| | | } |
| | | |
| | | public Integer getPageIndex() { |
| | | return pageIndex; |
| | | } |
| | | |
| | | public void setPageIndex(Integer pageIndex) { |
| | | this.pageIndex = pageIndex; |
| | | } |
| | | |
| | | public Integer getPageSize() { |
| | | return pageSize; |
| | | } |
| | | |
| | | public void setPageSize(Integer pageSize) { |
| | | this.pageSize = pageSize; |
| | | } |
| | | |
| | | |
| | | private ApiPageData() { |
| | | } |
| | | |
| | | public ApiPageData(Integer code, String status, String message, Object data, Object total, Integer pageIndex, Integer pageSize) { |
| | | this.total = total; |
| | | this.pageIndex = pageIndex; |
| | | this.pageSize = pageSize; |
| | | this.code = code; |
| | | this.status = status; |
| | | this.message = message; |
| | | this.data = data; |
| | | } |
| | | |
| | | public static ApiPageData build() { |
| | | return new ApiPageData(); |
| | | } |
| | | |
| | | public static ApiPageData ok(Object data) { |
| | | return new ApiPageData(200, ApiDataStatus.SUCCESS.toString(), null, data,null,null,null); |
| | | } |
| | | |
| | | public static ApiPageData ok(Object data, Object total) { |
| | | return new ApiPageData(200, ApiDataStatus.SUCCESS.toString(), null, data,total,null,null); |
| | | } |
| | | |
| | | public static ApiPageData ok(String message, Object data) { |
| | | return new ApiPageData(200, ApiDataStatus.SUCCESS.toString(), message, data,null,null,null); |
| | | } |
| | | |
| | | public static ApiPageData ok(String message, Object data, Object total) { |
| | | return new ApiPageData(200, ApiDataStatus.SUCCESS.toString(), message, data,total,null,null); |
| | | } |
| | | |
| | | public static ApiPageData unauthorized(String message) { |
| | | return new ApiPageData(401, ApiDataStatus.UNAUTHORIZED.toString(), message, null,null,null,null); |
| | | } |
| | | |
| | | public static ApiPageData error(String message) { |
| | | return new ApiPageData(500, ApiDataStatus.FAILED.toString(), message, null,null,null,null); |
| | | } |
| | | |
| | | public static ApiPageData error(String message, Object data) { |
| | | return new ApiPageData(500, ApiDataStatus.FAILED.toString(), message, data,null,null,null); |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.model; |
| | | |
| | | public class FileListData { |
| | | private String name; |
| | | private String url; |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getUrl() { |
| | | return url; |
| | | } |
| | | |
| | | public void setUrl(String url) { |
| | | this.url = url; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.model; |
| | | |
| | | public class UploadTemplateData { |
| | | private String relativepath; |
| | | |
| | | private String absolutepath; |
| | | |
| | | private String linkurl; |
| | | |
| | | public String getRelativepath() { |
| | | return relativepath; |
| | | } |
| | | |
| | | public void setRelativepath(String relativepath) { |
| | | this.relativepath = relativepath; |
| | | } |
| | | |
| | | public String getAbsolutepath() { |
| | | return absolutepath; |
| | | } |
| | | |
| | | public void setAbsolutepath(String absolutepath) { |
| | | this.absolutepath = absolutepath; |
| | | } |
| | | |
| | | public String getLinkurl() { |
| | | return linkurl; |
| | | } |
| | | |
| | | public void setLinkurl(String linkurl) { |
| | | this.linkurl = linkurl; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.model; |
| | | |
| | | import java.util.Date; |
| | | |
| | | public class User { |
| | | private String id; |
| | | |
| | | private String departmentid; |
| | | |
| | | private String name; |
| | | |
| | | private Boolean gender; |
| | | |
| | | private Integer age; |
| | | |
| | | private String email; |
| | | |
| | | private Boolean enabled; |
| | | |
| | | private String username; |
| | | |
| | | private String password; |
| | | |
| | | private String firstname; |
| | | |
| | | private String lastname; |
| | | |
| | | private String cellphone; |
| | | |
| | | private String telephone; |
| | | |
| | | private String address; |
| | | |
| | | private String userface; |
| | | |
| | | private Boolean isdeleted; |
| | | |
| | | private String remark; |
| | | |
| | | private Date createtime; |
| | | |
| | | private Date updatetime; |
| | | |
| | | public String getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(String id) { |
| | | this.id = id == null ? null : id.trim(); |
| | | } |
| | | |
| | | public String getDepartmentid() { |
| | | return departmentid; |
| | | } |
| | | |
| | | public void setDepartmentid(String departmentid) { |
| | | this.departmentid = departmentid == null ? null : departmentid.trim(); |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name == null ? null : name.trim(); |
| | | } |
| | | |
| | | public Boolean getGender() { |
| | | return gender; |
| | | } |
| | | |
| | | public void setGender(Boolean gender) { |
| | | this.gender = gender; |
| | | } |
| | | |
| | | public Integer getAge() { |
| | | return age; |
| | | } |
| | | |
| | | public void setAge(Integer age) { |
| | | this.age = age; |
| | | } |
| | | |
| | | public String getEmail() { |
| | | return email; |
| | | } |
| | | |
| | | public void setEmail(String email) { |
| | | this.email = email == null ? null : email.trim(); |
| | | } |
| | | |
| | | public Boolean getEnabled() { |
| | | return enabled; |
| | | } |
| | | |
| | | public void setEnabled(Boolean enabled) { |
| | | this.enabled = enabled; |
| | | } |
| | | |
| | | public String getUsername() { |
| | | return username; |
| | | } |
| | | |
| | | public void setUsername(String username) { |
| | | this.username = username == null ? null : username.trim(); |
| | | } |
| | | |
| | | public String getPassword() { |
| | | return password; |
| | | } |
| | | |
| | | public void setPassword(String password) { |
| | | this.password = password == null ? null : password.trim(); |
| | | } |
| | | |
| | | public String getFirstname() { |
| | | return firstname; |
| | | } |
| | | |
| | | public void setFirstname(String firstname) { |
| | | this.firstname = firstname == null ? null : firstname.trim(); |
| | | } |
| | | |
| | | public String getLastname() { |
| | | return lastname; |
| | | } |
| | | |
| | | public void setLastname(String lastname) { |
| | | this.lastname = lastname == null ? null : lastname.trim(); |
| | | } |
| | | |
| | | public String getCellphone() { |
| | | return cellphone; |
| | | } |
| | | |
| | | public void setCellphone(String cellphone) { |
| | | this.cellphone = cellphone == null ? null : cellphone.trim(); |
| | | } |
| | | |
| | | public String getTelephone() { |
| | | return telephone; |
| | | } |
| | | |
| | | public void setTelephone(String telephone) { |
| | | this.telephone = telephone == null ? null : telephone.trim(); |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address; |
| | | } |
| | | |
| | | public void setAddress(String address) { |
| | | this.address = address == null ? null : address.trim(); |
| | | } |
| | | |
| | | public String getUserface() { |
| | | return userface; |
| | | } |
| | | |
| | | public void setUserface(String userface) { |
| | | this.userface = userface == null ? null : userface.trim(); |
| | | } |
| | | |
| | | public Boolean getIsdeleted() { |
| | | return isdeleted; |
| | | } |
| | | |
| | | public void setIsdeleted(Boolean isdeleted) { |
| | | this.isdeleted = isdeleted; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark == null ? null : remark.trim(); |
| | | } |
| | | |
| | | public Date getCreatetime() { |
| | | return createtime; |
| | | } |
| | | |
| | | public void setCreatetime(Date createtime) { |
| | | this.createtime = createtime; |
| | | } |
| | | |
| | | public Date getUpdatetime() { |
| | | return updatetime; |
| | | } |
| | | |
| | | public void setUpdatetime(Date updatetime) { |
| | | this.updatetime = updatetime; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.model; |
| | | |
| | | public class WangEditResponse { |
| | | private int errno; |
| | | private WangEditResponseData data; |
| | | |
| | | public int getErrno() { |
| | | return errno; |
| | | } |
| | | |
| | | public void setErrno(int errno) { |
| | | this.errno = errno; |
| | | } |
| | | |
| | | public WangEditResponseData getData() { |
| | | return data; |
| | | } |
| | | |
| | | public void setData(WangEditResponseData data) { |
| | | this.data = data; |
| | | } |
| | | } |
| | | |
| New file |
| | |
| | | package com.farriver.bwf.common.model; |
| | | |
| | | public class WangEditResponseData { |
| | | private String url; |
| | | private String alt; |
| | | private String href; |
| | | |
| | | public String getUrl() { |
| | | return url; |
| | | } |
| | | |
| | | public void setUrl(String url) { |
| | | this.url = url; |
| | | } |
| | | |
| | | public String getAlt() { |
| | | return alt; |
| | | } |
| | | |
| | | public void setAlt(String alt) { |
| | | this.alt = alt; |
| | | } |
| | | |
| | | public String getHref() { |
| | | return href; |
| | | } |
| | | |
| | | public void setHref(String href) { |
| | | this.href = href; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.options; |
| | | |
| | | public enum ActionType { |
| | | CREATE, |
| | | UPDATE, |
| | | CREATEORUPDATE, |
| | | DELETE, |
| | | QUERY, |
| | | LOGIN, |
| | | LOGOUT, |
| | | MOVE, |
| | | CHANGE, |
| | | UPLOAD, |
| | | DOWNLOAD, |
| | | OTHERS |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.options; |
| | | |
| | | public enum DBTypeOption { |
| | | MASTER, |
| | | SLAVE1, |
| | | SLAVE2 |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.options; |
| | | |
| | | public enum MailStatus { |
| | | PENDING, |
| | | QUEUING, |
| | | SUCCESSFUL, |
| | | FAILED |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.options; |
| | | |
| | | public enum MapDataType { |
| | | TOTAL_COUNT, |
| | | DATA_LIST, |
| | | PAGE_INDEX, |
| | | PAGE_SIZE, |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.options; |
| | | |
| | | public enum OperationResult { |
| | | WAITING, |
| | | SUCCESS, |
| | | FAILED, |
| | | CANCELLED, |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.options; |
| | | |
| | | public enum RoleOption { |
| | | Engineer, |
| | | SuperAdministrator, |
| | | Administrator, |
| | | Other, |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.statics; |
| | | |
| | | public class LangConstants { |
| | | public static final String MSG_INFO_SUCCESS = "MSG_INFO_SUCCESS"; |
| | | public static final String MSG_INFO_FAILED = "MSG_INFO_FAILED"; |
| | | public static final String MSG_INFO_LOGIN_SUCCESS = "MSG_INFO_LOGIN_SUCCESS";//登陆成功 |
| | | |
| | | public static final String MSG_ERROR_SYSTEM = "MSG_ERROR_SYSTEM";//服务器异常,请联系管理员! |
| | | public static final String MSG_ERROR_PARAMETERS = "MSG_ERROR_PARAMETERS";//参数错误 |
| | | public static final String MSG_ERROR_NAME_EXISTED = "MSG_NAME_EXISTED";//名称已经存在,请更换其他名称! |
| | | public static final String MSG_ERROR_CODE_EXISTED = "MSG_CODE_EXISTED";//编号已经存在,请更换其他编号! |
| | | public static final String MSG_ERROR_NAME_REQUIRED = "MSG_NAME_REQUIRED";//名称不能为空! |
| | | public static final String MSG_ERROR_VERIFY_CODE = "MSG_ERROR_VERIFY_CODE";//验证码错误! |
| | | public static final String MSG_ERROR_VERIFY_CODE_EXPIRED = "MSG_EXPIRED_VERIFY_CODE";//验证码过期! |
| | | public static final String MSG_ERROR_ACCOUNT_PASSWORD_REQUIRED = "MSG_ACCOUNT_PASSWORD_REQUIRED";//用户账户和密码不能为空! |
| | | public static final String MSG_ERROR_ACCOUNT_PASSWORD = "MSG_ERROR_ACCOUNT_PASSWORD";//用户账户或者密码错误! |
| | | public static final String MSG_ERROR_ACCOUNT_LOCKED = "MSG_ERROR_ACCOUNT_LOCKED";//账户已被禁用,访问受限! |
| | | public static final String MSG_ERROR_ACCOUNT_EXPIRED = "MSG_ERROR_ACCOUNT_EXPIRED";//账户已过期,访问受限! |
| | | public static final String MSG_ERROR_ACCOUNT_LOW_PERMISSION = "MSG_ERROR_ACCOUNT_LOW_PERMISSION";//账户权限不足,访问受限! |
| | | public static final String MSG_INFO_LOGIN_OUT_SUCCESS = "MSG_INFO_LOGIN_OUT_SUCCESS";//注销成功 |
| | | public static final String MSG_ERROR_URL_PERMISSION_EXISTED = "MSG_ERROR_URL_PERMISSION_EXISTED";//系统%s的路劲%s的权限已经存在! |
| | | public static final String MSG_ERROR_ACCOUNT_BALANCE_Insufficient = "MSG_ERROR_ACCOUNT_BALANCE_Insufficient";//系统%s的路劲%s的权限已经存在! |
| | | public static final String MSG_ERROR_ACCOUNT_LOCK_USER_EXISTED = "MSG_ERROR_ACCOUNT_LOCK_USER_EXISTED";//系统%s的路劲%s的权限已经存在! |
| | | |
| | | public static final String MSG_ERROR_EMAIL_EXISTED = "MSG_ERROR_EMAIL_EXISTED";//电子邮件已经存在,请更换其他电子邮件后重试! |
| | | public static final String MSG_ERROR_CELLPHONE_EXISTED = "MSG_ERROR_CELLPHONE_EXISTED";//手机号已经存在,请更换其他手机号后重试! |
| | | public static final String MSG_ERROR_USER_NOT_EXISTED = "MSG_ERROR_USER_NOT_EXISTED";//用户不存在,操作失败! |
| | | public static final String MSG_ERROR_PASSWORD_INVALID = "MSG_ERROR_PASSWORD_INVALID";//密码不正确! |
| | | public static final String MSG_ERROR_OLD_PASSWORD_INVALID = "MSG_ERROR_OLD_PASSWORD_INVALID";//旧密码不正确! |
| | | public static final String MSG_ERROR_PRINT = "MSG_ERROR_PRINT"; |
| | | public static final String MSG_ERROR_STATUS = "MSG_ERROR_STATUS"; |
| | | public static final String MSG_ERROR_SHIPMENT_STATUS = "MSG_ERROR_SHIPMENT_STATUS"; |
| | | public static final String MSG_ERROR_ORDER_STATUS = "MSG_ERROR_ORDER_STATUS"; |
| | | public static final String MSG_ERROR_TRANSPORTATION_STATUS = "MSG_ERROR_TRANSPORTATION_STATUS"; |
| | | |
| | | public static final String CK_purchase_contract_remaining_day = "purchase_contract_remaining_day"; |
| | | public static final String CK_sale_order_remaining_day = "sale_order_remaining_day"; |
| | | public static final String CK_purchase_shipment_remaining_day = "purchase_shipment_remaining_day"; |
| | | public static final String CK_purchase_order_remaining_day = "purchase_order_remaining_day"; |
| | | public static final String CK_sale_shipment_remaining_day = "sale_shipment_remaining_day"; |
| | | public static final String CK_sale_contract_remaining_day = "sale_contract_remaining_day"; |
| | | public static final String CK_warehouse_inventory_max_level = "warehouse_inventory_max_level"; |
| | | public static final String CK_switch_purchase_contract_remaining_day = "switch_purchase_contract_remaining_day"; |
| | | public static final String CK_financial_collection_remaining_day = "financial_collection_remaining_day"; |
| | | public static final String CK_warehouse_inventory_overstock_day = "warehouse_inventory_overstock_day"; |
| | | public static final String CK_warehouse_inventory_min_level = "warehouse_inventory_min_level"; |
| | | public static final String CK_switch_purchase_shipment_remaining_day = "switch_purchase_shipment_remaining_day"; |
| | | public static final String CK_financial_payment_remaining_day = "financial_payment_remaining_day"; |
| | | public static final String CK_switch_purchase_order_remaining_day = "switch_purchase_order_remaining_day"; |
| | | public static final String CK_switch_sale_contract_remaining_day = "switch_sale_contract_remaining_day"; |
| | | public static final String CK_switch_sale_order_remaining_day = "switch_sale_order_remaining_day"; |
| | | public static final String CK_switch_sale_shipment_remaining_day = "switch_sale_shipment_remaining_day"; |
| | | public static final String CK_switch_warehouse_inventory_level = "switch_warehouse_inventory_level"; |
| | | public static final String CK_switch_warehouse_inventory_overstock_day = "switch_warehouse_inventory_overstock_day"; |
| | | public static final String CK_switch_financial_payment_remaining_day = "switch_financial_payment_remaining_day"; |
| | | public static final String CK_switch_financial_collection_remaining_day = "switch_financial_collection_remaining_day"; |
| | | |
| | | public static final String Alert_Type_Primary = "primary"; |
| | | public static final String Alert_Type_Info = "info"; |
| | | public static final String Alert_Type_Success = "success"; |
| | | public static final String Alert_Type_Warning = "warning"; |
| | | public static final String Alert_Type_Danger = "danger"; |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.statics; |
| | | |
| | | public class MailConstants { |
| | | public static final Integer DELIVERING = 0;//消息投递中 |
| | | public static final Integer SUCCESS = 1;//消息投递成功 |
| | | public static final Integer FAILURE = 2;//消息投递失败 |
| | | public static final Integer MAX_TRY_COUNT = 3;//最大重试次数 |
| | | public static final Integer MSG_TIMEOUT = 1;//消息超时时间 |
| | | public static final String MAIL_QUEUE_NAME = "com.farriver.bwf.mail.queue"; |
| | | public static final String MAIL_EXCHANGE_NAME = "com.farriver.bwf.mail.exchange"; |
| | | public static final String MAIL_ROUTING_KEY_NAME = "com.farriver.bwf.mail.routing.key"; |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.core.convert.converter.Converter; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.text.DateFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | /* |
| | | Converter是SpringMvc框架中的一个功能点,通过转化器可以实现对UI端传递的数据进行类型转化, |
| | | 实现类型转化可以实现接口Converter<S,T>接口、ConverterFactory接口、GenericConverter接口。 |
| | | ConverterRegistry接口就是对这三种类型提供了对应的注册方法。 |
| | | */ |
| | | @Component |
| | | public class DateConverter implements Converter<String, Date> { |
| | | private final Logger logger = LoggerFactory.getLogger(DateConverter.class); |
| | | |
| | | private static ThreadLocal<SimpleDateFormat[]> formats = new ThreadLocal<SimpleDateFormat[]>() { |
| | | protected SimpleDateFormat[] initialValue() { |
| | | return new SimpleDateFormat[]{ |
| | | new SimpleDateFormat("yyyy-MM"), |
| | | new SimpleDateFormat("yyyy-MM-dd"), |
| | | new SimpleDateFormat("yyyy-MM-dd HH"), |
| | | new SimpleDateFormat("yyyy-MM-dd HH:mm"), |
| | | new SimpleDateFormat("yyyy-MM-dd HH:mm:ss") |
| | | }; |
| | | } |
| | | }; |
| | | |
| | | @Override |
| | | public Date convert(String source) { |
| | | if (source == null || source.trim().equals("")) { |
| | | return null; |
| | | } |
| | | |
| | | Date result = null; |
| | | String originalValue = source.trim(); |
| | | if (source.matches("^\\d{4}-\\d{1,2}$")) { |
| | | return parseDate(source, formats.get()[0]); |
| | | } else if (source.matches("^\\d{4}-\\d{1,2}-\\d{1,2}$")) { |
| | | return parseDate(source, formats.get()[1]); |
| | | } else if (source.matches("^\\d{4}-\\d{1,2}-\\d{1,2} {1}\\d{1,2}$")) { |
| | | return parseDate(source, formats.get()[2]); |
| | | } else if (source.matches("^\\d{4}-\\d{1,2}-\\d{1,2} {1}\\d{1,2}:\\d{1,2}$")) { |
| | | return parseDate(source, formats.get()[3]); |
| | | } else if (source.matches("^\\d{4}-\\d{1,2}-\\d{1,2} {1}\\d{1,2}:\\d{1,2}:\\d{1,2}$")) { |
| | | return parseDate(source, formats.get()[4]); |
| | | } else if (originalValue.matches("^\\d{1,13}$")) { |
| | | try { |
| | | long timeStamp = Long.parseLong(originalValue); |
| | | if (originalValue.length() > 10) { |
| | | result = new Date(timeStamp); |
| | | } else { |
| | | result = new Date(1000L * timeStamp); |
| | | } |
| | | } catch (Exception e) { |
| | | result = null; |
| | | |
| | | } |
| | | } else { |
| | | result = null; |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | public Date parseDate(String dateStr, DateFormat dateFormat) { |
| | | Date date = null; |
| | | try { |
| | | date = dateFormat.parse(dateStr); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return date; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | |
| | | import java.text.DateFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Calendar; |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | | public class DateTimeUtils { |
| | | |
| | | private static final Logger logger = LoggerFactory.getLogger(DateTimeUtils.class); |
| | | |
| | | public static Date parseDate(String dateStr, DateFormat dateFormat) { |
| | | Date date = null; |
| | | try { |
| | | date = dateFormat.parse(dateStr); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return date; |
| | | } |
| | | |
| | | public static String dateToString(Date date, String dateFormat) { |
| | | String dateStr = null; |
| | | try { |
| | | SimpleDateFormat format = new SimpleDateFormat(dateFormat); |
| | | dateStr = format.format(date); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return dateStr; |
| | | } |
| | | |
| | | public static Date parseDate(String dateStr, String dateFormat) { |
| | | Date date = null; |
| | | try { |
| | | SimpleDateFormat format = new SimpleDateFormat(dateFormat); |
| | | date = format.parse(dateStr); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return date; |
| | | } |
| | | |
| | | public static Map<String, Date> getWorkDayDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | calendar.set(Calendar.HOUR_OF_DAY, 8); |
| | | calendar.set(Calendar.MINUTE, 0); |
| | | calendar.set(Calendar.SECOND, 0); |
| | | calendar.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = calendar.getTime(); |
| | | |
| | | calendar.setTime(date); |
| | | calendar.set(Calendar.HOUR_OF_DAY, 17); |
| | | calendar.set(Calendar.MINUTE, 00); |
| | | calendar.set(Calendar.SECOND, 00); |
| | | calendar.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = calendar.getTime(); |
| | | |
| | | } catch (Exception e) { |
| | | logger.error(e.getMessage(), e); |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | public static Map<String, Date> getDayDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | calendar.set(Calendar.HOUR_OF_DAY, 0); |
| | | calendar.set(Calendar.MINUTE, 0); |
| | | calendar.set(Calendar.SECOND, 0); |
| | | calendar.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = calendar.getTime(); |
| | | |
| | | calendar.setTime(date); |
| | | calendar.set(Calendar.HOUR_OF_DAY, 23); |
| | | calendar.set(Calendar.MINUTE, 59); |
| | | calendar.set(Calendar.SECOND, 59); |
| | | calendar.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = calendar.getTime(); |
| | | |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | public static Map<String, Date> getMonthDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | int year = calendar.get(Calendar.YEAR); |
| | | int month = calendar.get(Calendar.MONTH); |
| | | |
| | | Calendar c = Calendar.getInstance(); |
| | | c.set(Calendar.YEAR, year); |
| | | c.set(Calendar.MONTH, month); |
| | | c.set(Calendar.DAY_OF_MONTH, 1); |
| | | c.set(Calendar.HOUR_OF_DAY, 0); |
| | | c.set(Calendar.MINUTE, 0); |
| | | c.set(Calendar.SECOND, 0); |
| | | c.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = c.getTime(); |
| | | |
| | | Calendar c2 = Calendar.getInstance(); |
| | | c2.set(Calendar.YEAR, year); |
| | | c2.set(Calendar.MONTH, month); |
| | | int lastDate = c2.getActualMaximum(Calendar.DATE); |
| | | c2.set(Calendar.DAY_OF_MONTH, lastDate); |
| | | c2.set(Calendar.HOUR_OF_DAY, 23); |
| | | c2.set(Calendar.MINUTE, 59); |
| | | c2.set(Calendar.SECOND, 59); |
| | | c2.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = c2.getTime(); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | public static Map<String, Date> getYearDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | int year = calendar.get(Calendar.YEAR); |
| | | int month = calendar.get(Calendar.MONTH); |
| | | |
| | | Calendar c = Calendar.getInstance(); |
| | | c.set(year, 0, 1); |
| | | c.set(Calendar.HOUR_OF_DAY, 0); |
| | | c.set(Calendar.MINUTE, 0); |
| | | c.set(Calendar.SECOND, 0); |
| | | c.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = c.getTime(); |
| | | |
| | | Calendar c2 = Calendar.getInstance(); |
| | | c2.set(Calendar.YEAR, year + 1); |
| | | c2.set(Calendar.MONTH, 0); |
| | | c2.set(Calendar.DAY_OF_MONTH, 0); |
| | | c2.set(Calendar.DATE, 0); |
| | | c2.set(Calendar.HOUR_OF_DAY, 23); |
| | | c2.set(Calendar.MINUTE, 59); |
| | | c2.set(Calendar.SECOND, 59); |
| | | c2.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = c2.getTime(); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | public static Integer getRemainingDay(Date from, Date to) { |
| | | if (from == null || to == null) { |
| | | return null; |
| | | } |
| | | try { |
| | | var duration = to.getTime() - from.getTime(); |
| | | |
| | | return (int) Math.ceil((double) duration / 24 / 60 / 60 / 1000); |
| | | } catch (Exception ignored) { |
| | | |
| | | } |
| | | |
| | | return null; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import java.text.DateFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Calendar; |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | | public class DateUtil { |
| | | |
| | | public static Date parseDate(String dateStr, DateFormat dateFormat) { |
| | | Date date = null; |
| | | try { |
| | | date = dateFormat.parse(dateStr); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return date; |
| | | } |
| | | |
| | | public static String dateToString(Date date, String dateFormat) { |
| | | String dateStr = null; |
| | | try { |
| | | SimpleDateFormat format = new SimpleDateFormat(dateFormat); |
| | | dateStr = format.format(date); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return dateStr; |
| | | } |
| | | |
| | | public static Map<String, Date> getDayDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | calendar.set(Calendar.HOUR_OF_DAY, 0); |
| | | calendar.set(Calendar.MINUTE, 0); |
| | | calendar.set(Calendar.SECOND, 0); |
| | | calendar.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = calendar.getTime(); |
| | | |
| | | calendar.setTime(date); |
| | | calendar.set(Calendar.HOUR_OF_DAY, 23); |
| | | calendar.set(Calendar.MINUTE, 59); |
| | | calendar.set(Calendar.SECOND, 59); |
| | | calendar.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = calendar.getTime(); |
| | | |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | public static Map<String, Date> getMonthDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | int year = calendar.get(Calendar.YEAR); |
| | | int month = calendar.get(Calendar.MONTH); |
| | | |
| | | Calendar c = Calendar.getInstance(); |
| | | c.set(Calendar.YEAR, year); |
| | | c.set(Calendar.MONTH, month); |
| | | c.set(Calendar.DAY_OF_MONTH, 1); |
| | | c.set(Calendar.HOUR_OF_DAY, 0); |
| | | c.set(Calendar.MINUTE, 0); |
| | | c.set(Calendar.SECOND, 0); |
| | | c.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = c.getTime(); |
| | | |
| | | Calendar c2 = Calendar.getInstance(); |
| | | c2.set(Calendar.YEAR, year); |
| | | c2.set(Calendar.MONTH, month); |
| | | int lastDate = c2.getActualMaximum(Calendar.DATE); |
| | | c2.set(Calendar.DAY_OF_MONTH, lastDate); |
| | | c2.set(Calendar.HOUR_OF_DAY, 23); |
| | | c2.set(Calendar.MINUTE, 59); |
| | | c2.set(Calendar.SECOND, 59); |
| | | c2.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = c2.getTime(); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | public static Map<String, Date> getYearDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | int year = calendar.get(Calendar.YEAR); |
| | | int month = calendar.get(Calendar.MONTH); |
| | | |
| | | Calendar c = Calendar.getInstance(); |
| | | c.set(year, 0, 1); |
| | | c.set(Calendar.HOUR_OF_DAY, 0); |
| | | c.set(Calendar.MINUTE, 0); |
| | | c.set(Calendar.SECOND, 0); |
| | | c.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = c.getTime(); |
| | | |
| | | Calendar c2 = Calendar.getInstance(); |
| | | c2.set(Calendar.YEAR, year + 1); |
| | | c2.set(Calendar.MONTH, 0); |
| | | c2.set(Calendar.DAY_OF_MONTH, 0); |
| | | c2.set(Calendar.DATE, 0); |
| | | c2.set(Calendar.HOUR_OF_DAY, 23); |
| | | c2.set(Calendar.MINUTE, 59); |
| | | c2.set(Calendar.SECOND, 59); |
| | | c2.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = c2.getTime(); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | |
| | | import java.text.DateFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Calendar; |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | | public class DateUtils { |
| | | |
| | | private static final Logger logger = LoggerFactory.getLogger(DateUtils.class); |
| | | |
| | | public static Date parseDate(String dateStr, DateFormat dateFormat) { |
| | | Date date = null; |
| | | try { |
| | | date = dateFormat.parse(dateStr); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return date; |
| | | } |
| | | |
| | | public static String dateToString(Date date, String dateFormat) { |
| | | String dateStr = null; |
| | | try { |
| | | SimpleDateFormat format = new SimpleDateFormat(dateFormat); |
| | | dateStr = format.format(date); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return dateStr; |
| | | } |
| | | |
| | | public static Map<String, Date> getWorkDayDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | calendar.set(Calendar.HOUR_OF_DAY, 8); |
| | | calendar.set(Calendar.MINUTE, 0); |
| | | calendar.set(Calendar.SECOND, 0); |
| | | calendar.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = calendar.getTime(); |
| | | |
| | | calendar.setTime(date); |
| | | calendar.set(Calendar.HOUR_OF_DAY, 17); |
| | | calendar.set(Calendar.MINUTE, 00); |
| | | calendar.set(Calendar.SECOND, 00); |
| | | calendar.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = calendar.getTime(); |
| | | |
| | | } catch (Exception e) { |
| | | logger.error(e.getMessage(), e); |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | public static Map<String, Date> getDayDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | calendar.set(Calendar.HOUR_OF_DAY, 0); |
| | | calendar.set(Calendar.MINUTE, 0); |
| | | calendar.set(Calendar.SECOND, 0); |
| | | calendar.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = calendar.getTime(); |
| | | |
| | | calendar.setTime(date); |
| | | calendar.set(Calendar.HOUR_OF_DAY, 23); |
| | | calendar.set(Calendar.MINUTE, 59); |
| | | calendar.set(Calendar.SECOND, 59); |
| | | calendar.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = calendar.getTime(); |
| | | |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | public static Map<String, Date> getMonthDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | int year = calendar.get(Calendar.YEAR); |
| | | int month = calendar.get(Calendar.MONTH); |
| | | |
| | | Calendar c = Calendar.getInstance(); |
| | | c.set(Calendar.YEAR, year); |
| | | c.set(Calendar.MONTH, month); |
| | | c.set(Calendar.DAY_OF_MONTH, 1); |
| | | c.set(Calendar.HOUR_OF_DAY, 0); |
| | | c.set(Calendar.MINUTE, 0); |
| | | c.set(Calendar.SECOND, 0); |
| | | c.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = c.getTime(); |
| | | |
| | | Calendar c2 = Calendar.getInstance(); |
| | | c2.set(Calendar.YEAR, year); |
| | | c2.set(Calendar.MONTH, month); |
| | | int lastDate = c2.getActualMaximum(Calendar.DATE); |
| | | c2.set(Calendar.DAY_OF_MONTH, lastDate); |
| | | c2.set(Calendar.HOUR_OF_DAY, 23); |
| | | c2.set(Calendar.MINUTE, 59); |
| | | c2.set(Calendar.SECOND, 59); |
| | | c2.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = c2.getTime(); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | |
| | | public static Map<String, Date> getYearDuration(Date date) { |
| | | Map<String, Date> map = new HashMap<>(); |
| | | Date from = null; |
| | | Date to = null; |
| | | |
| | | try { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | calendar.setTime(date); |
| | | int year = calendar.get(Calendar.YEAR); |
| | | int month = calendar.get(Calendar.MONTH); |
| | | |
| | | Calendar c = Calendar.getInstance(); |
| | | c.set(year, 0, 1); |
| | | c.set(Calendar.HOUR_OF_DAY, 0); |
| | | c.set(Calendar.MINUTE, 0); |
| | | c.set(Calendar.SECOND, 0); |
| | | c.set(Calendar.MILLISECOND, 0); |
| | | |
| | | from = c.getTime(); |
| | | |
| | | Calendar c2 = Calendar.getInstance(); |
| | | c2.set(Calendar.YEAR, year + 1); |
| | | c2.set(Calendar.MONTH, 0); |
| | | c2.set(Calendar.DAY_OF_MONTH, 0); |
| | | c2.set(Calendar.DATE, 0); |
| | | c2.set(Calendar.HOUR_OF_DAY, 23); |
| | | c2.set(Calendar.MINUTE, 59); |
| | | c2.set(Calendar.SECOND, 59); |
| | | c2.set(Calendar.MILLISECOND, 999); |
| | | |
| | | to = c2.getTime(); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | |
| | | map.put("from", from); |
| | | map.put("to", to); |
| | | |
| | | return map; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import com.alibaba.fastjson2.JSON; |
| | | import org.apache.poi.xwpf.usermodel.*; |
| | | import org.jetbrains.annotations.NotNull; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.http.HttpHeaders; |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.http.MediaType; |
| | | import org.springframework.http.ResponseEntity; |
| | | |
| | | import java.io.*; |
| | | import java.lang.reflect.Field; |
| | | import java.util.*; |
| | | |
| | | public class DocxExportUtil { |
| | | |
| | | private static final Logger logger = LoggerFactory.getLogger(DateTimeUtils.class); |
| | | |
| | | @NotNull |
| | | public static <T> HashMap getHashMap(T model) { |
| | | HashMap map = new HashMap(); |
| | | |
| | | Class clazz1 = model.getClass(); |
| | | |
| | | Field[] declaredFields = clazz1.getDeclaredFields(); |
| | | for (Field field : declaredFields) { |
| | | field.setAccessible(true); |
| | | Object value = null; |
| | | try { |
| | | String key = String.format("${%s}", field.getName()); |
| | | |
| | | value = field.get(model); |
| | | if (value instanceof String[]) { |
| | | value = JSON.toJSONString(value); |
| | | } else if (value instanceof Date) { |
| | | value = DateTimeUtils.dateToString((Date) value, "yyyy/MM/dd hh:mm"); |
| | | } |
| | | |
| | | map.put(key, value); |
| | | } catch (IllegalAccessException e) { |
| | | logger.error(e.getMessage(), e); |
| | | } |
| | | } |
| | | |
| | | return map; |
| | | } |
| | | |
| | | /** |
| | | * 替换段落里面的变量 |
| | | * |
| | | * @param paragraph |
| | | * @param map |
| | | */ |
| | | public static void replaceParagraph(XWPFParagraph paragraph, Map<String, Object> map) { |
| | | List<XWPFRun> runs = paragraph.getRuns(); |
| | | for (int i = 0; i < runs.size(); i++) { |
| | | XWPFRun run = runs.get(i); |
| | | String tkey = run.toString(); |
| | | |
| | | if (tkey == null) { |
| | | return; |
| | | } |
| | | for (String key : map.keySet()) { |
| | | if (tkey.equals(key)) { |
| | | int size = run.getFontSize(); |
| | | if (size == -1) { |
| | | size = 14; |
| | | } |
| | | String fontFamily = run.getFontFamily(); |
| | | //因为直接调用setText()方法替换文本时,会在底层重新创建一个run,所以在设置文本之前要先删除当前run |
| | | paragraph.removeRun(i); |
| | | if (map != null && map.get(key) != null) { |
| | | String runText = map.get(key).toString(); |
| | | if (runText != null) { |
| | | if (runText.indexOf("\r\n") != -1) { |
| | | String[] texts = runText.split("\r\n"); |
| | | List<String> tmp = new ArrayList<>(); |
| | | for (String text : texts) { |
| | | if (text != null && text.length() != 0) { |
| | | tmp.add(text); |
| | | } |
| | | } |
| | | texts = tmp.toArray(new String[0]); |
| | | for (int n = 0; n < texts.length; n++) { |
| | | XWPFRun newRun = paragraph.createRun(); |
| | | newRun.setText(" " + texts[n].trim()); |
| | | if (texts.length > 1 && n != texts.length - 1) { |
| | | newRun.addBreak(); |
| | | } |
| | | newRun.setText(runText); |
| | | newRun.setFontSize(size); |
| | | newRun.setFontFamily(fontFamily); |
| | | } |
| | | } else if (runText.indexOf("\n") != -1) { |
| | | String[] texts = runText.split("\n"); |
| | | List<String> tmp = new ArrayList<>(); |
| | | for (String text : texts) { |
| | | if (text != null && text.length() != 0) { |
| | | tmp.add(text.trim()); |
| | | } |
| | | } |
| | | texts = tmp.toArray(new String[0]); |
| | | for (int n = 0; n < texts.length; n++) { |
| | | XWPFRun newRun = paragraph.createRun(); |
| | | newRun.setText(" " + texts[n].trim()); |
| | | if (texts.length > 1 && n != texts.length - 1) { |
| | | newRun.addBreak(); |
| | | } |
| | | newRun.setFontSize(size); |
| | | newRun.setFontFamily(fontFamily); |
| | | } |
| | | } else { |
| | | //重新创建一个run用于设置文本 |
| | | XWPFRun newrun = paragraph.insertNewRun(i); |
| | | newrun.setText(runText); |
| | | newrun.setFontSize(size); |
| | | newrun.setFontFamily(fontFamily); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 替换页眉里面的变量 |
| | | * |
| | | * @param Header |
| | | * @param map |
| | | */ |
| | | public static void replaceHeader(XWPFHeader Header, Map<String, Object> map) { |
| | | //获取表 |
| | | List<XWPFTable> tableList = Header.getTables(); |
| | | if (tableList != null && tableList.size() > 0) { |
| | | for (int i = 0; i < tableList.size(); i++) { |
| | | XWPFTable table = tableList.get(i); |
| | | //获取行 |
| | | List<XWPFTableRow> rows = table.getRows(); |
| | | for (XWPFTableRow row : rows) { |
| | | //获取单元格 |
| | | List<XWPFTableCell> cells = row.getTableCells(); |
| | | for (XWPFTableCell cell : cells) { |
| | | //获取单元格内容 |
| | | List<XWPFParagraph> paragraphs = cell.getParagraphs(); |
| | | for (XWPFParagraph paragraph : paragraphs) { |
| | | // paragraph.setAlignment(ParagraphAlignment.LEFT); |
| | | replaceParagraph(paragraph, map); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } else { |
| | | List<XWPFParagraph> paragraphs = Header.getParagraphs(); |
| | | for (XWPFParagraph paragraph : paragraphs) { |
| | | // paragraph.setAlignment(ParagraphAlignment.LEFT); |
| | | replaceParagraph(paragraph, map); |
| | | } |
| | | } |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 替换页脚里面表格的变量 |
| | | * |
| | | * @param Footer |
| | | * @param map |
| | | */ |
| | | public static void replaceFooter(XWPFFooter Footer, Map<String, Object> map) { |
| | | //获取表 |
| | | List<XWPFTable> tableList = Footer.getTables(); |
| | | if (tableList != null && tableList.size() > 0) { |
| | | for (int i = 0; i < tableList.size(); i++) { |
| | | XWPFTable table = tableList.get(i); |
| | | //获取行 |
| | | List<XWPFTableRow> rows = table.getRows(); |
| | | //获取单元格 |
| | | for (XWPFTableRow row : rows) { |
| | | List<XWPFTableCell> cells = row.getTableCells(); |
| | | for (XWPFTableCell cell : cells) { |
| | | //获取段落 |
| | | List<XWPFParagraph> paragraphs = cell.getParagraphs(); |
| | | for (XWPFParagraph paragraph : paragraphs) { |
| | | // paragraph.setAlignment(ParagraphAlignment.LEFT); |
| | | replaceParagraph(paragraph, map); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } else { |
| | | List<XWPFParagraph> paragraphs = Footer.getParagraphs(); |
| | | for (XWPFParagraph paragraph : paragraphs) { |
| | | // paragraph.setAlignment(ParagraphAlignment.LEFT); |
| | | replaceParagraph(paragraph, map); |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 替换表格里面的变量 |
| | | * |
| | | * @param document |
| | | * @param map |
| | | */ |
| | | public static void replaceInTable(XWPFDocument document, Map<String, Object> map) throws Exception { |
| | | Iterator<XWPFTable> iterator = document.getTablesIterator(); |
| | | while (iterator.hasNext()) { |
| | | //获取表 |
| | | XWPFTable table = iterator.next(); |
| | | //获取行 |
| | | List<XWPFTableRow> rows = table.getRows(); |
| | | for (XWPFTableRow row : rows) { |
| | | //获取单元格 |
| | | List<XWPFTableCell> cells = row.getTableCells(); |
| | | for (XWPFTableCell cell : cells) { |
| | | List<XWPFParagraph> paragraphs = cell.getParagraphs(); |
| | | for (XWPFParagraph paragraph : paragraphs) { |
| | | //paragraph.setAlignment(ParagraphAlignment.LEFT); |
| | | replaceParagraph(paragraph, map); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 导出docx |
| | | * |
| | | * @param templatePath |
| | | * @param outPath |
| | | * @param map |
| | | */ |
| | | public static boolean getDocx(String templatePath, String outPath, Map<String, Object> map) { |
| | | XWPFDocument document = null; |
| | | try { |
| | | File file = new File(templatePath); |
| | | InputStream in = new FileInputStream(file); |
| | | document = new XWPFDocument(in); |
| | | |
| | | //替换页眉变量 |
| | | Iterator<XWPFHeader> headerIterator = document.getHeaderList().iterator(); |
| | | while (headerIterator.hasNext()) { |
| | | XWPFHeader header = headerIterator.next(); |
| | | replaceHeader(header, map); |
| | | } |
| | | //替换页脚变量 |
| | | Iterator<XWPFFooter> footerIterator = document.getFooterList().iterator(); |
| | | while (footerIterator.hasNext()) { |
| | | XWPFFooter footer = footerIterator.next(); |
| | | replaceFooter(footer, map); |
| | | } |
| | | //替换表格里面的变量 |
| | | replaceInTable(document, map); |
| | | |
| | | // 如果文件夹不存在 则建立新文件夹 |
| | | File dir = new File(outPath); |
| | | if (!dir.exists() == false) { |
| | | dir.mkdirs(); |
| | | } |
| | | ByteArrayOutputStream bos = new ByteArrayOutputStream(); |
| | | OutputStream out = new FileOutputStream(outPath); |
| | | document.write(bos); |
| | | out.write(bos.toByteArray()); |
| | | bos.close(); |
| | | out.close(); |
| | | return true; |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | return false; |
| | | } finally { |
| | | try { |
| | | if (document != null) { |
| | | document.close(); |
| | | } |
| | | } catch (IOException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | } |
| | | |
| | | public static ResponseEntity<byte[]> ExportBOL(HashMap map, String templatePath) { |
| | | var baos = new ByteArrayOutputStream(); |
| | | var headers = new HttpHeaders(); |
| | | |
| | | XWPFDocument document = null; |
| | | try { |
| | | File file = new File(templatePath); |
| | | InputStream in = new FileInputStream(file); |
| | | document = new XWPFDocument(in); |
| | | |
| | | //替换页眉变量 |
| | | Iterator<XWPFHeader> headerIterator = document.getHeaderList().iterator(); |
| | | while (headerIterator.hasNext()) { |
| | | XWPFHeader header = headerIterator.next(); |
| | | DocxExportUtil.replaceHeader(header, map); |
| | | } |
| | | //替换页脚变量 |
| | | Iterator<XWPFFooter> footerIterator = document.getFooterList().iterator(); |
| | | while (footerIterator.hasNext()) { |
| | | XWPFFooter footer = footerIterator.next(); |
| | | DocxExportUtil.replaceFooter(footer, map); |
| | | } |
| | | //替换表格里面的变量 |
| | | DocxExportUtil.replaceInTable(document, map); |
| | | |
| | | headers.setContentDispositionFormData("attachment", new String((UUID.randomUUID() + ".docx").getBytes("UTF-8"), "ISO-8859-1")); |
| | | headers.setContentType(MediaType.APPLICATION_OCTET_STREAM); |
| | | document.write(baos); |
| | | |
| | | return new ResponseEntity<byte[]>(baos.toByteArray(), headers, HttpStatus.CREATED); |
| | | } catch (Exception e) { |
| | | logger.error(e.getMessage(), e); |
| | | } finally { |
| | | try { |
| | | if (document != null) { |
| | | document.close(); |
| | | } |
| | | } catch (IOException e) { |
| | | logger.error(e.getMessage(), e); |
| | | } |
| | | } |
| | | return new ResponseEntity<byte[]>(baos.toByteArray(), headers, HttpStatus.CREATED); |
| | | } |
| | | |
| | | public static ResponseEntity<byte[]> ExportBOL(HashMap map, InputStream inputStream) { |
| | | var baos = new ByteArrayOutputStream(); |
| | | var headers = new HttpHeaders(); |
| | | |
| | | XWPFDocument document = null; |
| | | try { |
| | | document = new XWPFDocument(inputStream); |
| | | |
| | | //替换页眉变量 |
| | | Iterator<XWPFHeader> headerIterator = document.getHeaderList().iterator(); |
| | | while (headerIterator.hasNext()) { |
| | | XWPFHeader header = headerIterator.next(); |
| | | DocxExportUtil.replaceHeader(header, map); |
| | | } |
| | | //替换页脚变量 |
| | | Iterator<XWPFFooter> footerIterator = document.getFooterList().iterator(); |
| | | while (footerIterator.hasNext()) { |
| | | XWPFFooter footer = footerIterator.next(); |
| | | DocxExportUtil.replaceFooter(footer, map); |
| | | } |
| | | //替换表格里面的变量 |
| | | DocxExportUtil.replaceInTable(document, map); |
| | | |
| | | headers.setContentDispositionFormData("attachment", new String((UUID.randomUUID() + ".docx").getBytes("UTF-8"), "ISO-8859-1")); |
| | | headers.setContentType(MediaType.APPLICATION_OCTET_STREAM); |
| | | document.write(baos); |
| | | |
| | | return new ResponseEntity<byte[]>(baos.toByteArray(), headers, HttpStatus.CREATED); |
| | | } catch (Exception e) { |
| | | logger.error(e.getMessage(), e); |
| | | } finally { |
| | | try { |
| | | if (document != null) { |
| | | document.close(); |
| | | } |
| | | } catch (IOException e) { |
| | | logger.error(e.getMessage(), e); |
| | | } |
| | | } |
| | | return new ResponseEntity<byte[]>(baos.toByteArray(), headers, HttpStatus.CREATED); |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | |
| | | import javax.crypto.Mac; |
| | | import javax.crypto.SecretKey; |
| | | import javax.crypto.spec.SecretKeySpec; |
| | | import java.math.BigInteger; |
| | | import java.security.MessageDigest; |
| | | import java.security.NoSuchAlgorithmException; |
| | | import java.util.Base64; |
| | | |
| | | public class EncryptUtil { |
| | | private final Logger logger = LoggerFactory.getLogger(EncryptUtil.class); |
| | | |
| | | public static String md5Encrypt(final String content) { |
| | | |
| | | MessageDigest md5 = null; |
| | | try { |
| | | md5 = MessageDigest.getInstance("MD5"); |
| | | } catch (NoSuchAlgorithmException e) { |
| | | |
| | | } |
| | | |
| | | BigInteger digest = new BigInteger(md5.digest(content.getBytes())); |
| | | //32位 |
| | | return digest.toString(16); |
| | | } |
| | | |
| | | public static byte[] base64Encrypt(final String content) { |
| | | return Base64.getEncoder().encode(content.getBytes()); |
| | | } |
| | | |
| | | public static byte[] base64Decrypt(final byte[] encoderContent) { |
| | | return Base64.getDecoder().decode(encoderContent); |
| | | } |
| | | |
| | | public static String SHAEncrypt(final String content) { |
| | | try { |
| | | MessageDigest sha = MessageDigest.getInstance("SHA"); |
| | | byte[] sha_byte = sha.digest(content.getBytes()); |
| | | StringBuffer hexValue = new StringBuffer(); |
| | | for (byte b : sha_byte) { |
| | | //将其中的每个字节转成十六进制字符串:byte类型的数据最高位是符号位,通过和0xff进行与操作,转换为int类型的正整数。 |
| | | String toHexString = Integer.toHexString(b & 0xff); |
| | | hexValue.append(toHexString.length() == 1 ? "0" + toHexString : toHexString); |
| | | } |
| | | return hexValue.toString(); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return ""; |
| | | } |
| | | |
| | | public static byte[] HMACEncrypt(final String key, final String content) { |
| | | try { |
| | | SecretKey secretKey = new SecretKeySpec(key.getBytes(), "MAC"); |
| | | Mac mac = Mac.getInstance(secretKey.getAlgorithm()); |
| | | |
| | | mac.init(secretKey); |
| | | return mac.doFinal(content.getBytes()); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | return null; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import com.alibaba.fastjson2.JSON; |
| | | import com.fasterxml.jackson.databind.JavaType; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import com.fasterxml.jackson.databind.type.TypeFactory; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.data.redis.serializer.RedisSerializer; |
| | | import org.springframework.data.redis.serializer.SerializationException; |
| | | import org.springframework.util.Assert; |
| | | |
| | | import java.nio.charset.Charset; |
| | | import java.nio.charset.StandardCharsets; |
| | | |
| | | public class FastJson2JsonRedisSerializer<T> implements RedisSerializer<T> { |
| | | private final Logger logger = LoggerFactory.getLogger(FastJson2JsonRedisSerializer.class); |
| | | |
| | | private ObjectMapper objectMapper = new ObjectMapper(); |
| | | public static final Charset DEFAULT_CHARSET = StandardCharsets.UTF_8; |
| | | |
| | | private final Class<T> clazz; |
| | | |
| | | static { |
| | | // ParserConfig.getGlobalInstance().setAutoTypeSupport(true); |
| | | // 如果遇到反序列化autoType is not support错误,请添加并修改一下包名到bean文件路径 |
| | | // ParserConfig.getGlobalInstance().addAccept("com.farriver.oqb.data.model"); |
| | | } |
| | | |
| | | public FastJson2JsonRedisSerializer(Class<T> clazz) { |
| | | super(); |
| | | this.clazz = clazz; |
| | | } |
| | | |
| | | public byte[] serialize(T t) throws SerializationException { |
| | | if (t == null) { |
| | | return new byte[0]; |
| | | } |
| | | return JSON.toJSONString(t).getBytes(DEFAULT_CHARSET); |
| | | } |
| | | |
| | | public T deserialize(byte[] bytes) throws SerializationException { |
| | | if (bytes == null || bytes.length <= 0) { |
| | | return null; |
| | | } |
| | | String str = new String(bytes, DEFAULT_CHARSET); |
| | | |
| | | return JSON.parseObject(str, clazz); |
| | | } |
| | | |
| | | public void setObjectMapper(ObjectMapper objectMapper) { |
| | | Assert.notNull(objectMapper, "'objectMapper' must not be null"); |
| | | this.objectMapper = objectMapper; |
| | | } |
| | | |
| | | protected JavaType getJavaType(Class<?> clazz) { |
| | | return TypeFactory.defaultInstance().constructType(clazz); |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import com.farriver.bwf.common.model.UploadTemplateData; |
| | | import com.google.common.io.Files; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.io.*; |
| | | import java.net.URLEncoder; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.zip.ZipEntry; |
| | | import java.util.zip.ZipFile; |
| | | import java.util.zip.ZipInputStream; |
| | | |
| | | public class FileUtil { |
| | | public static String writeFile(String uploadPath, MultipartFile file) throws IOException { |
| | | String relativeFilePath = null; |
| | | InputStream inputStream = null; |
| | | OutputStream outputStream = null; |
| | | try { |
| | | Date date = new Date(); |
| | | String fileUrl = null; |
| | | String filename = file.getOriginalFilename(); |
| | | String fileShortName = getShortNameName(filename, '.'); |
| | | String fileExt = getExtName(filename, '.'); |
| | | String newfilename = String.format("%s-%s.%s", fileShortName, DateTimeUtils.dateToString(date, "yyyyMMddhhmmss"), fileExt); |
| | | |
| | | String pathcategory = ""; |
| | | switch (fileExt.toUpperCase()) { |
| | | case "DOC": |
| | | case "DOCX": |
| | | case "TXT": |
| | | case "XSL": |
| | | case "XSLX": |
| | | case "XLS": |
| | | case "XLSX": |
| | | case "PPT": |
| | | case "PDF": |
| | | pathcategory = "/document/"; |
| | | break; |
| | | case "PNG": |
| | | case "JPEG": |
| | | case "JPG": |
| | | case "ICO": |
| | | case "GIT": |
| | | pathcategory = "/picture/"; |
| | | break; |
| | | default: |
| | | pathcategory = "/others/"; |
| | | break; |
| | | } |
| | | String relativepath = pathcategory; |
| | | String diskPath = uploadPath + relativepath; |
| | | FileUtil.mkdir(diskPath); |
| | | |
| | | if (diskPath.endsWith("\\") || diskPath.endsWith("/")) fileUrl = diskPath + newfilename; |
| | | else fileUrl = diskPath + "\\" + newfilename; |
| | | |
| | | inputStream = file.getInputStream(); |
| | | outputStream = new FileOutputStream(fileUrl); |
| | | IOUtils.copy(inputStream, outputStream); |
| | | |
| | | relativeFilePath = relativepath + newfilename; |
| | | |
| | | } catch (Exception ignored) { |
| | | |
| | | } finally { |
| | | outputStream.flush(); |
| | | inputStream.close(); |
| | | outputStream.close(); |
| | | } |
| | | |
| | | return relativeFilePath; |
| | | } |
| | | |
| | | public static UploadTemplateData writeDocumentFile(String module, String uploadPath, MultipartFile file) throws IOException { |
| | | var result = new UploadTemplateData(); |
| | | |
| | | String relativeFilePath = null; |
| | | InputStream inputStream = null; |
| | | OutputStream outputStream = null; |
| | | try { |
| | | Date date = new Date(); |
| | | String fileUrl = null; |
| | | String filename = file.getOriginalFilename(); |
| | | String fileShortName = getShortNameName(filename, '.'); |
| | | String fileExt = getExtName(filename, '.'); |
| | | String newfilename = String.format("%s-%s.%s", fileShortName, DateTimeUtils.dateToString(date, "yyyyMMddhhmmss"), fileExt); |
| | | |
| | | String relativepath = String.format("/%s/template/export/%s/", "bwf", module); |
| | | String diskPath = String.format("%s%s", uploadPath, relativepath); |
| | | |
| | | FileUtil.mkdir(diskPath); |
| | | |
| | | if (diskPath.endsWith("\\") || diskPath.endsWith("/")) fileUrl = diskPath + newfilename; |
| | | else fileUrl = diskPath + "\\" + newfilename; |
| | | |
| | | inputStream = file.getInputStream(); |
| | | outputStream = new FileOutputStream(fileUrl); |
| | | IOUtils.copy(inputStream, outputStream); |
| | | |
| | | relativeFilePath = relativepath + newfilename; |
| | | |
| | | result.setRelativepath(relativeFilePath); |
| | | result.setAbsolutepath(fileUrl); |
| | | } catch (Exception ignored) { |
| | | |
| | | } finally { |
| | | outputStream.flush(); |
| | | inputStream.close(); |
| | | outputStream.close(); |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | public static UploadTemplateData writeExportTemplateFile(String module, String uploadPath, MultipartFile file) throws IOException { |
| | | var result = new UploadTemplateData(); |
| | | |
| | | String relativeFilePath = null; |
| | | InputStream inputStream = null; |
| | | OutputStream outputStream = null; |
| | | try { |
| | | Date date = new Date(); |
| | | String fileUrl = null; |
| | | String filename = file.getOriginalFilename(); |
| | | String fileShortName = getShortNameName(filename, '.'); |
| | | String fileExt = getExtName(filename, '.'); |
| | | String newfilename = String.format("%s-%s.%s", fileShortName, DateTimeUtils.dateToString(date, "yyyyMMddhhmmss"), fileExt); |
| | | |
| | | String relativepath = String.format("/%s/template/export/%s/", "bwf", module); |
| | | String diskPath = String.format("%s%s", uploadPath, relativepath); |
| | | |
| | | FileUtil.mkdir(diskPath); |
| | | |
| | | if (diskPath.endsWith("\\") || diskPath.endsWith("/")) fileUrl = diskPath + newfilename; |
| | | else fileUrl = diskPath + "\\" + newfilename; |
| | | |
| | | inputStream = file.getInputStream(); |
| | | outputStream = new FileOutputStream(fileUrl); |
| | | IOUtils.copy(inputStream, outputStream); |
| | | |
| | | relativeFilePath = relativepath + newfilename; |
| | | |
| | | result.setRelativepath(relativeFilePath); |
| | | result.setAbsolutepath(fileUrl); |
| | | } catch (Exception ignored) { |
| | | |
| | | } finally { |
| | | outputStream.flush(); |
| | | inputStream.close(); |
| | | outputStream.close(); |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | public static UploadTemplateData writeImportTemplateFile(String module, String uploadPath, MultipartFile file) throws IOException { |
| | | var result = new UploadTemplateData(); |
| | | |
| | | String relativeFilePath = null; |
| | | InputStream inputStream = null; |
| | | OutputStream outputStream = null; |
| | | try { |
| | | Date date = new Date(); |
| | | String fileUrl = null; |
| | | String filename = file.getOriginalFilename(); |
| | | String fileShortName = getShortNameName(filename, '.'); |
| | | String fileExt = getExtName(filename, '.'); |
| | | String newfilename = String.format("%s-%s.%s", fileShortName, DateTimeUtils.dateToString(date, "yyyyMMddhhmmss"), fileExt); |
| | | |
| | | String relativepath = String.format("/%s/template/import/%s/", "bwf", module); |
| | | String diskPath = String.format("%s%s", uploadPath, relativepath); |
| | | |
| | | FileUtil.mkdir(diskPath); |
| | | |
| | | if (diskPath.endsWith("\\") || diskPath.endsWith("/")) fileUrl = diskPath + newfilename; |
| | | else fileUrl = diskPath + "\\" + newfilename; |
| | | |
| | | inputStream = file.getInputStream(); |
| | | outputStream = new FileOutputStream(fileUrl); |
| | | IOUtils.copy(inputStream, outputStream); |
| | | |
| | | relativeFilePath = relativepath + newfilename; |
| | | |
| | | result.setRelativepath(relativeFilePath); |
| | | result.setAbsolutepath(fileUrl); |
| | | } catch (Exception ignored) { |
| | | |
| | | } finally { |
| | | outputStream.flush(); |
| | | inputStream.close(); |
| | | outputStream.close(); |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | public static UploadTemplateData writeBOLFile(String module, String uploadPath, MultipartFile file) throws IOException { |
| | | var result = new UploadTemplateData(); |
| | | |
| | | String relativeFilePath = null; |
| | | InputStream inputStream = null; |
| | | OutputStream outputStream = null; |
| | | try { |
| | | Date date = new Date(); |
| | | String fileUrl = null; |
| | | String filename = file.getOriginalFilename(); |
| | | String fileShortName = getShortNameName(filename, '.'); |
| | | String fileExt = getExtName(filename, '.'); |
| | | String newfilename = String.format("%s-%s.%s", fileShortName, DateTimeUtils.dateToString(date, "yyyyMMddhhmmss"), fileExt); |
| | | |
| | | String relativepath = String.format("/%s/bol/%s/", "bwf", module); |
| | | String diskPath = String.format("%s%s", uploadPath, relativepath); |
| | | |
| | | FileUtil.mkdir(diskPath); |
| | | |
| | | if (diskPath.endsWith("\\") || diskPath.endsWith("/")) fileUrl = diskPath + newfilename; |
| | | else fileUrl = diskPath + "\\" + newfilename; |
| | | |
| | | inputStream = file.getInputStream(); |
| | | outputStream = new FileOutputStream(fileUrl); |
| | | IOUtils.copy(inputStream, outputStream); |
| | | |
| | | relativeFilePath = relativepath + newfilename; |
| | | |
| | | result.setRelativepath(relativeFilePath); |
| | | result.setAbsolutepath(fileUrl); |
| | | } catch (Exception ignored) { |
| | | |
| | | } finally { |
| | | outputStream.flush(); |
| | | inputStream.close(); |
| | | outputStream.close(); |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | public static UploadTemplateData writeReportFile(String module, String uploadPath, MultipartFile file) throws IOException { |
| | | var result = new UploadTemplateData(); |
| | | |
| | | String relativeFilePath = null; |
| | | InputStream inputStream = null; |
| | | OutputStream outputStream = null; |
| | | try { |
| | | Date date = new Date(); |
| | | String fileUrl = null; |
| | | String filename = file.getOriginalFilename(); |
| | | String fileShortName = getShortNameName(filename, '.'); |
| | | String fileExt = getExtName(filename, '.'); |
| | | String newfilename = String.format("%s-%s.%s", fileShortName, DateTimeUtils.dateToString(date, "yyyyMMddhhmmss"), fileExt); |
| | | |
| | | String relativepath = String.format("/%s/report/%s/", "bwf", module); |
| | | String diskPath = String.format("%s%s", uploadPath, relativepath); |
| | | |
| | | FileUtil.mkdir(diskPath); |
| | | |
| | | if (diskPath.endsWith("\\") || diskPath.endsWith("/")) fileUrl = diskPath + newfilename; |
| | | else fileUrl = diskPath + "\\" + newfilename; |
| | | |
| | | inputStream = file.getInputStream(); |
| | | outputStream = new FileOutputStream(fileUrl); |
| | | IOUtils.copy(inputStream, outputStream); |
| | | |
| | | relativeFilePath = relativepath + newfilename; |
| | | |
| | | result.setRelativepath(relativeFilePath); |
| | | result.setAbsolutepath(fileUrl); |
| | | } catch (Exception ignored) { |
| | | |
| | | } finally { |
| | | outputStream.flush(); |
| | | inputStream.close(); |
| | | outputStream.close(); |
| | | } |
| | | |
| | | return result; |
| | | } |
| | | |
| | | private static String getExtName(String s, char split) { |
| | | int i = s.indexOf(split); |
| | | int leg = s.length(); |
| | | return (i > 0 ? (i + 1) == leg ? " " : s.substring(i + 1, s.length()) : " "); |
| | | } |
| | | |
| | | private static String getShortNameName(String s, char split) { |
| | | int i = s.indexOf(split); |
| | | int leg = s.length(); |
| | | return (i > 0 ? (i + 1) == leg ? " " : s.substring(0, i) : " "); |
| | | } |
| | | |
| | | public static void writeFile(File f, String content) { |
| | | writeFile(f, content, "utf-8"); |
| | | } |
| | | |
| | | public static void writeFile(File f, String content, String encode) { |
| | | try { |
| | | if (!f.exists()) { |
| | | f.createNewFile(); |
| | | } |
| | | OutputStreamWriter osw = new OutputStreamWriter(new FileOutputStream(f), encode); |
| | | BufferedWriter utput = new BufferedWriter(osw); |
| | | utput.write(content); |
| | | utput.close(); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | } |
| | | |
| | | public static void writeFile(String path, String content, String encode) { |
| | | File f = new File(path); |
| | | writeFile(f, content, encode); |
| | | } |
| | | |
| | | public static void writeFile(String path, String content) { |
| | | File f = new File(path); |
| | | writeFile(f, content, "utf-8"); |
| | | } |
| | | |
| | | public static String readFile(File file) { |
| | | return readFile(file, "UTF-8"); |
| | | } |
| | | |
| | | public static String readFile(File file, String encode) { |
| | | String output = ""; |
| | | |
| | | if (file.exists()) { |
| | | if (file.isFile()) { |
| | | try { |
| | | InputStreamReader isr = new InputStreamReader(new FileInputStream(file), encode); |
| | | BufferedReader input = new BufferedReader(isr); |
| | | StringBuffer buffer = new StringBuffer(); |
| | | String text; |
| | | while ((text = input.readLine()) != null) buffer.append(text + "\n"); |
| | | output = buffer.toString(); |
| | | |
| | | } catch (IOException ioException) { |
| | | System.err.println("File Error!"); |
| | | } |
| | | } else if (file.isDirectory()) { |
| | | String[] dir = file.list(); |
| | | output += "Directory contents:\n"; |
| | | for (int i = 0; i < dir.length; i++) { |
| | | output += dir[i] + "\n"; |
| | | } |
| | | } |
| | | |
| | | } else { |
| | | System.err.println("Does not exist!"); |
| | | } |
| | | |
| | | return output; |
| | | } |
| | | |
| | | public static String readFile(String fileName, String encode) { |
| | | File file = new File(fileName); |
| | | return readFile(file, encode); |
| | | } |
| | | |
| | | public static String readFile(String fileName) { |
| | | return readFile(fileName, "utf-8"); |
| | | } |
| | | |
| | | public static List<File> getFiles(String folder) { |
| | | File file = new File(folder); |
| | | List<File> files = new ArrayList<File>(); |
| | | if (file.exists()) { |
| | | File[] sonFiles = file.listFiles(); |
| | | if (sonFiles != null && sonFiles.length > 0) { |
| | | for (int i = 0; i < sonFiles.length; i++) { |
| | | if (!sonFiles[i].isDirectory()) { |
| | | files.add(sonFiles[i]); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | return files; |
| | | } |
| | | |
| | | public static List<File> getFilesFromFolder(String folder) { |
| | | File file = new File(folder); |
| | | List<File> files = new ArrayList<File>(); |
| | | if (file.exists()) { |
| | | File[] sonFiles = file.listFiles(); |
| | | if (sonFiles != null && sonFiles.length > 0) { |
| | | for (int i = 0; i < sonFiles.length; i++) { |
| | | if (sonFiles[i].isDirectory()) { |
| | | files.add(sonFiles[i]); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | return files; |
| | | } |
| | | |
| | | public static boolean hasSubfolder(String folder) { |
| | | File file = new File(folder); |
| | | return hasSubfolder(file); |
| | | } |
| | | |
| | | public static boolean hasSubfolder(File file) { |
| | | if (file.exists()) { |
| | | File[] sonFiles = file.listFiles(); |
| | | if (sonFiles != null && sonFiles.length > 0) { |
| | | for (int i = 0; i < sonFiles.length; i++) { |
| | | if (sonFiles[i].isDirectory()) { |
| | | return true; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | public static void mkdir(String folder) { |
| | | File file = new File(folder); |
| | | if (!file.exists()) { |
| | | file.mkdirs(); |
| | | } |
| | | } |
| | | |
| | | public static void copy(File src, File dst) { |
| | | try { |
| | | int BUFFER_SIZE = 32 * 1024; |
| | | InputStream in = null; |
| | | OutputStream out = null; |
| | | try { |
| | | in = new FileInputStream(src); |
| | | out = new FileOutputStream(dst); |
| | | byte[] buffer = new byte[BUFFER_SIZE]; |
| | | int count; |
| | | while ((count = in.read(buffer)) != -1) { |
| | | out.write(buffer, 0, count); |
| | | } |
| | | } finally { |
| | | if (null != in) { |
| | | in.close(); |
| | | } |
| | | if (null != out) { |
| | | out.close(); |
| | | } |
| | | } |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | } |
| | | |
| | | public static void copyDirectiory(String sourceDir, String targetDir) throws IOException { |
| | | if (new File(sourceDir).exists()) { |
| | | // 新建目标目录 |
| | | File targetFolder = new File(targetDir); |
| | | if (!targetFolder.exists()) { |
| | | targetFolder.mkdirs(); |
| | | } |
| | | // 获取源文件夹当前下的文件或目录 |
| | | File[] file = (new File(sourceDir)).listFiles(); |
| | | for (int i = 0; i < file.length; i++) { |
| | | if (file[i].isFile()) { |
| | | // 源文件 |
| | | File sourceFile = file[i]; |
| | | // 目标文件 |
| | | File targetFile = new File(new File(targetDir).getAbsolutePath() + File.separator + file[i].getName()); |
| | | copy(sourceFile, targetFile); |
| | | } |
| | | if (file[i].isDirectory()) { |
| | | // 准备复制的源文件夹 |
| | | String dir1 = sourceDir + "/" + file[i].getName(); |
| | | // 准备复制的目标文件夹 |
| | | String dir2 = targetDir + "/" + file[i].getName(); |
| | | copyDirectiory(dir1, dir2); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | public static String getExt(File src) { |
| | | if (src != null) { |
| | | String name = src.getName(); |
| | | return name.substring(name.lastIndexOf("."), name.length()); |
| | | } |
| | | return ""; |
| | | } |
| | | |
| | | public static String getExt(String src) { |
| | | if (src != null) { |
| | | return src.substring(src.lastIndexOf("."), src.length()); |
| | | } |
| | | return ""; |
| | | } |
| | | |
| | | public static void del(String path) { |
| | | File file = new File(path); |
| | | deleteFile(file); |
| | | } |
| | | |
| | | public static void deleteFile(File file) { |
| | | if (file.exists()) { //判断文件是否存在 |
| | | if (file.isFile()) { //判断是否是文件 |
| | | file.delete(); //delete()方法 你应该知道 是删除的意思; |
| | | } else if (file.isDirectory()) { //否则如果它是一个目录 |
| | | File files[] = file.listFiles(); //声明目录下所有的文件 files[]; |
| | | for (int i = 0; i < files.length; i++) { //遍历目录下所有的文件 |
| | | deleteFile(files[i]); //把每个文件 用这个方法进行迭代 |
| | | } |
| | | } |
| | | file.delete(); |
| | | } |
| | | } |
| | | |
| | | public static void upzip() throws Exception { |
| | | File file = new File("D:\\test.zip");//压缩文件 |
| | | ZipFile zipFile = new ZipFile(file);//实例化ZipFile,每一个zip压缩文件都可以表示为一个ZipFile |
| | | //实例化一个Zip压缩文件的ZipInputStream对象,可以利用该类的getNextEntry()方法依次拿到每一个ZipEntry对象 |
| | | ZipInputStream zipInputStream = new ZipInputStream(new FileInputStream(file)); |
| | | ZipEntry zipEntry = null; |
| | | while ((zipEntry = zipInputStream.getNextEntry()) != null) { |
| | | String fileName = zipEntry.getName(); |
| | | File temp = new File("D:\\un\\" + fileName); |
| | | temp.getParentFile().mkdirs(); |
| | | OutputStream os = new FileOutputStream(temp); |
| | | //通过ZipFile的getInputStream方法拿到具体的ZipEntry的输入流 |
| | | InputStream is = zipFile.getInputStream(zipEntry); |
| | | int len = 0; |
| | | while ((len = is.read()) != -1) os.write(len); |
| | | os.close(); |
| | | is.close(); |
| | | } |
| | | zipInputStream.close(); |
| | | } |
| | | |
| | | public static void downloadFile(String path, String name, HttpServletResponse response) throws Exception { |
| | | // path是指欲下载的文件的路径。 |
| | | File file = new File(path); |
| | | try (OutputStream outputStream = new BufferedOutputStream(response.getOutputStream())) { |
| | | String fileName = URLEncoder.encode(name, "UTF-8"); |
| | | response.reset(); |
| | | response.setHeader("Content-Disposition", "attachment; filename=\"" + fileName + "\""); |
| | | response.addHeader("Content-Length", "" + file.length()); |
| | | response.setContentType("application/octet-stream;charset=UTF-8"); |
| | | |
| | | Files.copy(file, outputStream); |
| | | outputStream.flush(); |
| | | } |
| | | } |
| | | |
| | | public static void deleteFile(String filePath) { |
| | | File file = new File(filePath); |
| | | if (!file.delete()) { |
| | | // log.error("Delete file {} error", filePath); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import org.apache.http.HttpResponse; |
| | | import org.apache.http.client.ClientProtocolException; |
| | | import org.apache.http.client.config.RequestConfig; |
| | | import org.apache.http.client.methods.HttpGet; |
| | | import org.apache.http.client.methods.HttpPost; |
| | | import org.apache.http.entity.StringEntity; |
| | | import org.apache.http.impl.client.CloseableHttpClient; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | |
| | | import java.io.IOException; |
| | | import java.nio.charset.Charset; |
| | | |
| | | /** |
| | | * httpclient util 处理http请求工具类 |
| | | * |
| | | * @author administrator |
| | | */ |
| | | public class HttpClientUtil { |
| | | private static Logger logger = LoggerFactory.getLogger(HttpClientUtil.class); |
| | | |
| | | private final CloseableHttpClient httpClient; |
| | | private final RequestConfig requestConfig; |
| | | |
| | | public HttpClientUtil(CloseableHttpClient httpClient, RequestConfig requestConfig) { |
| | | this.httpClient = httpClient; |
| | | this.requestConfig = requestConfig; |
| | | } |
| | | |
| | | /** |
| | | * 处理post请求 |
| | | * |
| | | * @param jsonObj |
| | | * @param url |
| | | * @return |
| | | * @throws IOException |
| | | * @throws ClientProtocolException |
| | | */ |
| | | private HttpResponse doPost(JSONObject jsonObj, StringBuffer url) |
| | | throws IOException, ClientProtocolException { |
| | | HttpResponse response; |
| | | HttpPost httpPost = new HttpPost(url.toString()); |
| | | httpPost.setConfig(this.requestConfig); |
| | | |
| | | // 构建消息实体 |
| | | if (jsonObj != null) { |
| | | StringEntity entity = new StringEntity(jsonObj.toString(), Charset.forName("UTF-8")); |
| | | entity.setContentEncoding("UTF-8"); |
| | | // 发送Json格式的数据请求 |
| | | entity.setContentType("application/json"); |
| | | httpPost.setEntity(entity); |
| | | } |
| | | // do post |
| | | try { |
| | | response = httpClient.execute(httpPost); |
| | | } finally { |
| | | httpPost.releaseConnection(); |
| | | } |
| | | return response; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 处理get请求 |
| | | * |
| | | * @param url |
| | | * @return |
| | | * @throws IOException |
| | | * @throws ClientProtocolException |
| | | */ |
| | | private HttpResponse doGet(StringBuffer url) throws IOException, ClientProtocolException { |
| | | HttpResponse response; |
| | | HttpGet httpGet = new HttpGet(url.toString()); |
| | | httpGet.setConfig(this.requestConfig); |
| | | // do get |
| | | try { |
| | | response = httpClient.execute(httpGet); |
| | | } finally { |
| | | httpGet.releaseConnection(); |
| | | } |
| | | return response; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import com.farriver.bwf.common.model.ApiData; |
| | | import jakarta.servlet.http.HttpServletRequest; |
| | | import org.apache.http.StatusLine; |
| | | import org.apache.http.client.config.RequestConfig; |
| | | import org.apache.http.client.methods.CloseableHttpResponse; |
| | | import org.apache.http.client.methods.HttpGet; |
| | | import org.apache.http.client.methods.HttpPost; |
| | | import org.apache.http.entity.StringEntity; |
| | | import org.apache.http.impl.client.CloseableHttpClient; |
| | | import org.apache.http.impl.client.HttpClients; |
| | | import org.apache.http.util.EntityUtils; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | |
| | | import java.io.IOException; |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | import java.util.Random; |
| | | |
| | | public class HttpUtil { |
| | | private final static Logger logger = LoggerFactory.getLogger(HttpUtil.class); |
| | | |
| | | public static ApiData HttpGet(String url, String dummyIp) throws Exception { |
| | | CloseableHttpClient httpClient = HttpClients.createDefault(); |
| | | HttpGet httpGet = new HttpGet(url); |
| | | RequestConfig defaultRequestConfig = RequestConfig.custom().setSocketTimeout(5000).setConnectTimeout(5000).setConnectionRequestTimeout(5000).build(); |
| | | httpGet.setConfig(defaultRequestConfig); |
| | | httpGet.addHeader("Content-Type", "application/json;charset=UTF-8"); |
| | | httpGet.addHeader("x-forwarded-for", dummyIp); |
| | | |
| | | CloseableHttpResponse response = null; |
| | | |
| | | try { |
| | | response = httpClient.execute(httpGet); |
| | | StatusLine statusline = response.getStatusLine(); |
| | | logger.info("statusline: " + statusline); |
| | | int statusCode = statusline.getStatusCode(); |
| | | logger.info("statusCode: " + statusCode); |
| | | org.apache.http.HttpEntity entity = response.getEntity(); |
| | | String result = EntityUtils.toString(entity, "UTF-8"); |
| | | logger.debug("result: " + result); |
| | | |
| | | return new ApiData(statusCode, statusline.toString(), result, null); |
| | | } catch (Exception e) { |
| | | return ApiData.error(e.getMessage(), e); |
| | | } finally { |
| | | if (response != null) response.close(); |
| | | httpClient.close(); |
| | | } |
| | | } |
| | | |
| | | public static ApiData HttpPost(String url, String json, String dummyIp) throws Exception { |
| | | CloseableHttpClient httpClient = HttpClients.createDefault(); |
| | | HttpPost httpPost = new HttpPost(url); |
| | | RequestConfig defaultRequestConfig = RequestConfig.custom() |
| | | .setSocketTimeout(5000) |
| | | .setConnectTimeout(5000) |
| | | .setConnectionRequestTimeout(5000) |
| | | .build(); |
| | | |
| | | httpPost.setConfig(defaultRequestConfig); |
| | | httpPost.addHeader("Content-Type", "application/json;charset=UTF-8"); |
| | | httpPost.addHeader("x-forwarded-for", dummyIp); |
| | | httpPost.setEntity(new StringEntity(json, "UTF-8")); |
| | | |
| | | CloseableHttpResponse response = null; |
| | | |
| | | try { |
| | | response = httpClient.execute(httpPost); |
| | | StatusLine statusline = response.getStatusLine(); |
| | | logger.info("statusline: " + statusline); |
| | | |
| | | int statusCode = statusline.getStatusCode(); |
| | | logger.info("statusCode: " + statusCode); |
| | | |
| | | org.apache.http.HttpEntity entity = response.getEntity(); |
| | | String result = EntityUtils.toString(entity, "UTF-8"); |
| | | logger.info("result: " + result); |
| | | |
| | | return new ApiData(statusCode, statusline.toString(), result, null); |
| | | } catch (Exception e) { |
| | | return ApiData.error(e.getMessage(), e); |
| | | } finally { |
| | | if (response != null) { |
| | | response.close(); |
| | | } |
| | | |
| | | httpClient.close(); |
| | | } |
| | | } |
| | | |
| | | public static void resetIp(String ip, String maskcode) throws IOException { |
| | | String str1 = ip; |
| | | String str2 = maskcode; |
| | | String[] command1 = {"netsh", "interface", "ip", "set", "address", "name=", "Local Area Connection", "source=static", "addr=", str1, "mask=", str2}; |
| | | |
| | | Process pp = Runtime.getRuntime().exec(command1); |
| | | } |
| | | |
| | | public static String GetDynamicIP() throws IOException { |
| | | long randomSeed = (System.currentTimeMillis() % 254); |
| | | |
| | | Random random = new Random(randomSeed); |
| | | int ip_pr1 = random.nextInt(254); |
| | | int ip_pr2 = random.nextInt(254); |
| | | int ip_pr3 = random.nextInt(254); |
| | | int ip_pr4 = random.nextInt(254); |
| | | |
| | | String dummyIp = ip_pr1 + "." + ip_pr2 + "." + ip_pr3 + "." + ip_pr4; |
| | | |
| | | resetIp(dummyIp, "255.255.0.0"); |
| | | |
| | | return dummyIp; |
| | | } |
| | | |
| | | public static ApiData DoGet(String url) throws Exception { |
| | | CloseableHttpClient httpClient = HttpClients.createDefault(); |
| | | HttpGet httpGet = new HttpGet(url); |
| | | RequestConfig defaultRequestConfig = RequestConfig.custom().setSocketTimeout(5000).setConnectTimeout(5000).setConnectionRequestTimeout(5000).build(); |
| | | httpGet.setConfig(defaultRequestConfig); |
| | | httpGet.addHeader("Content-Type", "application/json;charset=UTF-8"); |
| | | |
| | | CloseableHttpResponse response = null; |
| | | |
| | | try { |
| | | response = httpClient.execute(httpGet); |
| | | StatusLine statusline = response.getStatusLine(); |
| | | logger.info("statusline: " + statusline); |
| | | int statusCode = statusline.getStatusCode(); |
| | | logger.info("statusCode: " + statusCode); |
| | | org.apache.http.HttpEntity entity = response.getEntity(); |
| | | String result = EntityUtils.toString(entity, "UTF-8"); |
| | | logger.debug("result: " + result); |
| | | |
| | | return new ApiData(statusCode, statusline.toString(), result, null); |
| | | } catch (Exception e) { |
| | | return ApiData.error(e.getMessage(), e); |
| | | } finally { |
| | | if (response != null) response.close(); |
| | | httpClient.close(); |
| | | } |
| | | } |
| | | |
| | | public static ApiData DoPost(String url, String json) throws Exception { |
| | | CloseableHttpClient httpClient = HttpClients.createDefault(); |
| | | HttpPost httpPost = new HttpPost(url); |
| | | RequestConfig defaultRequestConfig = RequestConfig.custom() |
| | | .setSocketTimeout(5000) |
| | | .setConnectTimeout(5000) |
| | | .setConnectionRequestTimeout(5000) |
| | | .build(); |
| | | |
| | | httpPost.setConfig(defaultRequestConfig); |
| | | httpPost.addHeader("Content-Type", "application/json;charset=UTF-8"); |
| | | httpPost.setEntity(new StringEntity(json, "UTF-8")); |
| | | |
| | | CloseableHttpResponse response = null; |
| | | |
| | | try { |
| | | response = httpClient.execute(httpPost); |
| | | StatusLine statusline = response.getStatusLine(); |
| | | logger.info("statusline: " + statusline); |
| | | |
| | | int statusCode = statusline.getStatusCode(); |
| | | logger.info("statusCode: " + statusCode); |
| | | |
| | | org.apache.http.HttpEntity entity = response.getEntity(); |
| | | String result = EntityUtils.toString(entity, "UTF-8"); |
| | | logger.info("result: " + result); |
| | | |
| | | return new ApiData(statusCode, statusline.toString(), result, null); |
| | | } catch (Exception e) { |
| | | return ApiData.error(e.getMessage(), e); |
| | | } finally { |
| | | if (response != null) { |
| | | response.close(); |
| | | } |
| | | |
| | | httpClient.close(); |
| | | } |
| | | } |
| | | |
| | | public static String Get(String url) throws Exception { |
| | | CloseableHttpClient httpClient = HttpClients.createDefault(); |
| | | HttpGet httpGet = new HttpGet(url); |
| | | RequestConfig defaultRequestConfig = RequestConfig.custom().setSocketTimeout(5000).setConnectTimeout(5000).setConnectionRequestTimeout(5000).build(); |
| | | httpGet.setConfig(defaultRequestConfig); |
| | | httpGet.addHeader("Content-Type", "application/json;charset=UTF-8"); |
| | | |
| | | CloseableHttpResponse response = null; |
| | | |
| | | try { |
| | | response = httpClient.execute(httpGet); |
| | | StatusLine statusline = response.getStatusLine(); |
| | | logger.info("statusline: " + statusline); |
| | | int statusCode = statusline.getStatusCode(); |
| | | logger.info("statusCode: " + statusCode); |
| | | org.apache.http.HttpEntity entity = response.getEntity(); |
| | | String result = EntityUtils.toString(entity, "UTF-8"); |
| | | logger.debug("result: " + result); |
| | | |
| | | return result; |
| | | } catch (Exception e) { |
| | | return null; |
| | | } finally { |
| | | if (response != null) response.close(); |
| | | httpClient.close(); |
| | | } |
| | | } |
| | | |
| | | public static String Post(String url, String json, String Authorization) throws Exception { |
| | | CloseableHttpClient httpClient = HttpClients.createDefault(); |
| | | HttpPost httpPost = new HttpPost(url); |
| | | RequestConfig defaultRequestConfig = RequestConfig.custom() |
| | | .setSocketTimeout(5000) |
| | | .setConnectTimeout(5000) |
| | | .setConnectionRequestTimeout(5000) |
| | | .build(); |
| | | |
| | | httpPost.setConfig(defaultRequestConfig); |
| | | httpPost.addHeader("Content-Type", "application/json;charset=UTF-8"); |
| | | httpPost.addHeader("UserAgent", "faloo.com/WebRequest"); |
| | | httpPost.addHeader("Accept", "application/json"); |
| | | if (Authorization != null && !Authorization.isEmpty()) { |
| | | httpPost.addHeader("Authorization", Authorization); |
| | | } |
| | | httpPost.setEntity(new StringEntity(json, "UTF-8")); |
| | | |
| | | CloseableHttpResponse response = null; |
| | | |
| | | try { |
| | | response = httpClient.execute(httpPost); |
| | | StatusLine statusline = response.getStatusLine(); |
| | | logger.info("statusline: " + statusline); |
| | | |
| | | int statusCode = statusline.getStatusCode(); |
| | | logger.info("statusCode: " + statusCode); |
| | | |
| | | org.apache.http.HttpEntity entity = response.getEntity(); |
| | | String result = EntityUtils.toString(entity, "UTF-8"); |
| | | logger.info("result: " + result); |
| | | |
| | | return result; |
| | | } catch (Exception e) { |
| | | return null; |
| | | } finally { |
| | | if (response != null) { |
| | | response.close(); |
| | | } |
| | | |
| | | httpClient.close(); |
| | | } |
| | | } |
| | | |
| | | public static Map<String, String> getUrlQueryMap(HttpServletRequest request) { |
| | | String urlQueryString = request.getQueryString(); |
| | | Map<String, String> queryMap = new HashMap<>(); |
| | | String[] arrSplit; |
| | | if (urlQueryString == null) { |
| | | return queryMap; |
| | | } else { |
| | | //每个键值为一组 |
| | | arrSplit = urlQueryString.split("[&]"); |
| | | for (String strSplit : arrSplit) { |
| | | String[] arrSplitEqual = strSplit.split("[=]"); |
| | | //解析出键值 |
| | | if (arrSplitEqual.length > 1) { |
| | | queryMap.put(arrSplitEqual[0], arrSplitEqual[1]); |
| | | } else { |
| | | if (!"".equals(arrSplitEqual[0])) { |
| | | queryMap.put(arrSplitEqual[0], ""); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | return queryMap; |
| | | } |
| | | |
| | | public static String getRemoteAddr(HttpServletRequest request) { |
| | | if (request.getHeader("x-forwarded-for") == null) { |
| | | return request.getRemoteAddr(); |
| | | } |
| | | return request.getHeader("x-forwarded-for"); |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.Collections; |
| | | import java.util.List; |
| | | import java.util.stream.Collectors; |
| | | |
| | | public class ListUtils { |
| | | public static <T> List<T> pagination(List<T> records, int pageindex, int pagesize) { |
| | | if (CollectionUtils.isEmpty(records)) { |
| | | return Collections.emptyList(); |
| | | } |
| | | if (pageindex < 0 || pagesize < 0) { |
| | | return Collections.emptyList(); |
| | | } |
| | | int totalcount = records.size(); |
| | | long remainder = totalcount % pagesize; |
| | | long pagecount = (remainder > 0) ? totalcount / pagesize + 1 : totalcount / pagesize; |
| | | |
| | | if (remainder != 0 && pageindex == pagecount) { |
| | | records = records.stream().skip((pageindex - 1) * pagesize).limit(totalcount).collect(Collectors.toList()); |
| | | } else { |
| | | records = records.stream().skip((pageindex - 1) * pagesize).limit(pagesize).collect(Collectors.toList()); |
| | | } |
| | | |
| | | return records; |
| | | } |
| | | |
| | | public static Object[] ArrayInster(Object[] array, int index, Object value) { |
| | | Object[] newArray = new Object[array.length + 1]; |
| | | |
| | | for (int i = 0; i < array.length; i++) { |
| | | newArray[i] = array[i]; |
| | | } |
| | | |
| | | for (int i = newArray.length - 1; i > index; i--) { |
| | | newArray[i] = newArray[i - 1]; |
| | | } |
| | | |
| | | newArray[index] = value; |
| | | array = newArray; |
| | | |
| | | return array; |
| | | } |
| | | |
| | | public static List<Object> ListInster(List<Object> array, int index, Object value) { |
| | | Object[] newArray = new Object[array.size() + 1]; |
| | | |
| | | for (int i = 0; i < array.size(); i++) { |
| | | newArray[i] = array.get(i); |
| | | } |
| | | |
| | | for (int i = newArray.length - 1; i > index; i--) { |
| | | newArray[i] = newArray[i - 1]; |
| | | } |
| | | |
| | | newArray[index] = value; |
| | | array = Arrays.asList(newArray); |
| | | |
| | | return array; |
| | | } |
| | | |
| | | public static List<Object> ListInsterLast(List<Object> array, Object value) { |
| | | Object[] newArray = new Object[array.size() + 1]; |
| | | |
| | | for (int i = 0; i < array.size(); i++) { |
| | | newArray[i] = array.get(i); |
| | | } |
| | | |
| | | newArray[array.size()] = value; |
| | | array = Arrays.asList(newArray); |
| | | |
| | | return array; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import org.jetbrains.annotations.Nullable; |
| | | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | public class NoGenerator { |
| | | |
| | | @Nullable |
| | | public static String GenerateDateNo() { |
| | | SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMddHHmmssSSS"); |
| | | String str = formatter.format(new Date()); |
| | | str += (int) ((Math.random() * 9 + 1) * 10000); |
| | | |
| | | return str; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import com.itextpdf.text.Font; |
| | | import com.itextpdf.text.Image; |
| | | import com.itextpdf.text.Paragraph; |
| | | import com.itextpdf.text.Phrase; |
| | | import com.itextpdf.text.pdf.PdfPCell; |
| | | import com.itextpdf.text.pdf.PdfPTable; |
| | | |
| | | import java.util.List; |
| | | |
| | | public class PdfFontUtil { |
| | | private PdfFontUtil() { |
| | | } |
| | | |
| | | /** |
| | | * 段落样式获取 |
| | | */ |
| | | public static Paragraph getParagraph(String content, Font font, Integer alignment) { |
| | | Paragraph paragraph = new Paragraph(content, font); |
| | | if (alignment != null && alignment >= 0) { |
| | | paragraph.setAlignment(alignment); |
| | | } |
| | | return paragraph; |
| | | } |
| | | |
| | | /** |
| | | * 图片样式 |
| | | */ |
| | | public static Image getImage(String imgPath, float width, float height) throws Exception { |
| | | Image image = Image.getInstance(imgPath); |
| | | image.setAlignment(Image.MIDDLE); |
| | | if (width > 0 && height > 0) { |
| | | image.scaleAbsolute(width, height); |
| | | } |
| | | return image; |
| | | } |
| | | |
| | | /** |
| | | * 表格生成 |
| | | */ |
| | | public static PdfPTable getPdfPTable01(int numColumns, float totalWidth) throws Exception { |
| | | // 表格处理 |
| | | PdfPTable table = new PdfPTable(numColumns); |
| | | // 设置表格宽度比例为%100 |
| | | table.setWidthPercentage(100); |
| | | // 设置宽度:宽度平均 |
| | | table.setTotalWidth(totalWidth); |
| | | // 锁住宽度 |
| | | table.setLockedWidth(true); |
| | | // 设置表格上面空白宽度 |
| | | table.setSpacingBefore(10f); |
| | | // 设置表格下面空白宽度 |
| | | table.setSpacingAfter(10f); |
| | | // 设置表格默认为无边框 |
| | | table.getDefaultCell().setBorder(0); |
| | | table.setPaddingTop(30); |
| | | table.setSplitLate(false); |
| | | return table; |
| | | } |
| | | |
| | | /** |
| | | * 表格内容 |
| | | */ |
| | | public static PdfPCell getPdfPCell(Phrase phrase) { |
| | | return new PdfPCell(phrase); |
| | | } |
| | | |
| | | /** |
| | | * 表格内容带样式 |
| | | */ |
| | | public static void addTableCell(PdfPTable dataTable, Font font, List<String> cellList) { |
| | | for (String content : cellList) { |
| | | dataTable.addCell(getParagraph(content, font, -1)); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import java.util.regex.Matcher; |
| | | import java.util.regex.Pattern; |
| | | import java.util.regex.PatternSyntaxException; |
| | | |
| | | public class PhoneFormatCheckUtils { |
| | | |
| | | /** |
| | | * 大陆号码或香港号码均可 |
| | | */ |
| | | public static boolean isPhoneLegal(String str) throws PatternSyntaxException { |
| | | return isChinaPhoneLegal(str) || isHKPhoneLegal(str); |
| | | } |
| | | |
| | | /** |
| | | * 大陆手机号码11位数,匹配格式:前三位固定格式+后8位任意数 |
| | | * 此方法中前三位格式有: |
| | | * 13+任意数 |
| | | * 145,147,149 |
| | | * 15+除4的任意数(不要写^4,这样的话字母也会被认为是正确的) |
| | | * 166 |
| | | * 17+3,5,6,7,8 |
| | | * 18+任意数 |
| | | * 198,199 |
| | | */ |
| | | public static boolean isChinaPhoneLegal(String str) throws PatternSyntaxException { |
| | | // ^ 匹配输入字符串开始的位置 |
| | | // \d 匹配一个或多个数字,其中 \ 要转义,所以是 \\d |
| | | // $ 匹配输入字符串结尾的位置 |
| | | String regExp = "^((13[0-9])|(14[5,7,9])|(15[0-3,5-9])|(166)|(17[3,5,6,7,8])" + |
| | | "|(18[0-9])|(19[8,9]))\\d{8}$"; |
| | | Pattern p = Pattern.compile(regExp); |
| | | Matcher m = p.matcher(str); |
| | | return m.matches(); |
| | | } |
| | | |
| | | /** |
| | | * 香港手机号码8位数,5|6|8|9开头+7位任意数 |
| | | */ |
| | | public static boolean isHKPhoneLegal(String str) throws PatternSyntaxException { |
| | | // ^ 匹配输入字符串开始的位置 |
| | | // \d 匹配一个或多个数字,其中 \ 要转义,所以是 \\d |
| | | // $ 匹配输入字符串结尾的位置 |
| | | String regExp = "^(5|6|8|9)\\d{7}$"; |
| | | Pattern p = Pattern.compile(regExp); |
| | | Matcher m = p.matcher(str); |
| | | return m.matches(); |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.UUID; |
| | | |
| | | public class SerialNumberGenerator { |
| | | private static int serialNumber = 0; |
| | | |
| | | public synchronized static String generateSerialNumber() { |
| | | return String.valueOf(++serialNumber); |
| | | } |
| | | |
| | | private static final SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMdd"); |
| | | |
| | | public synchronized static String generateSerialNumberWithDate() { |
| | | return formatter.format(new Date()) + String.format("%05d", ++serialNumber); |
| | | } |
| | | |
| | | public static String generateSerialNumberWithUUID() { |
| | | return UUID.randomUUID().toString(); |
| | | } |
| | | |
| | | public synchronized static String generateSerialNumberWithOrg(String companyCode) { |
| | | return companyCode + "-" + formatter.format(new Date()) + "-" + String.format("%05d", ++serialNumber) + "-" + UUID.randomUUID().toString(); |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | public class TreeBuilder<T> { |
| | | |
| | | public static List<TreeBuilderNode> buildTreeFromNodes(List<TreeBuilderNode> nodes) { |
| | | // 使用Map来帮助我们快速查找每个节点的父节点 |
| | | Map<String, TreeBuilderNode> nodeMap = new HashMap<>(); |
| | | |
| | | // 初始化map,将所有节点放入 |
| | | for (TreeBuilderNode node : nodes) { |
| | | var nodeKey = getNodeKey(node); |
| | | if (nodeKey != null) { |
| | | nodeMap.put(nodeKey, node); |
| | | } |
| | | } |
| | | |
| | | // 遍历列表,为每个节点找到其在map中的父节点,并添加自己到父节点的children列表中 |
| | | for (TreeBuilderNode node : nodes) { |
| | | TreeBuilderNode parent = nodeMap.get(getNodeParentKey(node)); // 实现此方法以获取父节点的名称 |
| | | if (parent != null) { |
| | | if (parent.getChildren() == null) { |
| | | parent.setChildren(new ArrayList<>()); |
| | | } |
| | | parent.getChildren().add(node); |
| | | } |
| | | } |
| | | |
| | | // 返回根节点列表,根节点是没有父节点的节点 |
| | | List<TreeBuilderNode> roots = new ArrayList<>(); |
| | | for (TreeBuilderNode node : nodes) { |
| | | if (!nodeMap.containsKey(getNodeParentKey(node))) { |
| | | roots.add(node); |
| | | } |
| | | } |
| | | |
| | | return roots; |
| | | } |
| | | |
| | | // 这个方法需要你根据实际情况实现,来从Node中获取其父节点的名称 |
| | | private static String getNodeParentKey(TreeBuilderNode node) { |
| | | var pid = node.getParentid(); |
| | | |
| | | return pid; |
| | | } |
| | | |
| | | private static String getNodeKey(TreeBuilderNode node) { |
| | | var pid = node.getId(); |
| | | |
| | | return pid; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface TreeBuilderNode { |
| | | String getId(); |
| | | |
| | | String getParentid(); |
| | | |
| | | List<TreeBuilderNode> getChildren(); |
| | | |
| | | void setChildren(List<TreeBuilderNode> children); |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import java.net.InetAddress; |
| | | import java.util.UUID; |
| | | |
| | | public class UUIDUtil { |
| | | private static final String sep = "-"; |
| | | |
| | | public static String generate() { |
| | | return format(System.currentTimeMillis()) |
| | | + "-" |
| | | + format(System.currentTimeMillis() >> 4) |
| | | + "-" |
| | | + format(getIP()) |
| | | + "-" |
| | | + formatInt(getCount()); |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | UUID.randomUUID().toString(); |
| | | |
| | | System.out.println(generate()); |
| | | } |
| | | |
| | | protected static String format(int value) { |
| | | int index = value % chars.length; |
| | | value = value / chars.length; |
| | | |
| | | if (value > 0) |
| | | return format(value) + chars[index]; |
| | | else |
| | | return "" + chars[index]; |
| | | } |
| | | |
| | | protected static String formatInt(int value) { |
| | | String re = format(value); |
| | | re = "000000" + re; |
| | | |
| | | return re.substring(re.length() - 7); |
| | | } |
| | | |
| | | static char[] chars = { |
| | | '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', |
| | | 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', |
| | | 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' |
| | | }; |
| | | |
| | | public static String format(Long value) { |
| | | Long index = value % chars.length; |
| | | value = value / chars.length; |
| | | |
| | | if (value > 0) |
| | | return format(value) + chars[index.intValue()]; |
| | | else |
| | | return "" + chars[index.intValue()]; |
| | | } |
| | | |
| | | public static int toInt(byte[] bytes) { |
| | | int result = 0; |
| | | |
| | | for (int i = 0; i < 4; i++) { |
| | | result = (result << 8) - Byte.MIN_VALUE + (int) bytes[i]; |
| | | } |
| | | return result; |
| | | } |
| | | |
| | | private static final int IP; |
| | | |
| | | static { |
| | | int ipadd; |
| | | try { |
| | | ipadd = toInt(InetAddress.getLocalHost().getAddress()); |
| | | } catch (Exception e) { |
| | | ipadd = 0; |
| | | } |
| | | IP = ipadd; |
| | | } |
| | | |
| | | private static Integer counter = (Integer) 0; |
| | | private static final int JVM = (int) (System.currentTimeMillis() >>> 8); |
| | | |
| | | protected static Integer getCount() { |
| | | synchronized (UUIDUtil.class) { |
| | | return counter = counter < 0 ? 0 : ++counter; |
| | | } |
| | | } |
| | | |
| | | protected static int getIP() { |
| | | return IP; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.common.utilities; |
| | | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | |
| | | import javax.imageio.ImageIO; |
| | | import java.awt.*; |
| | | import java.awt.image.BufferedImage; |
| | | import java.io.ByteArrayOutputStream; |
| | | import java.io.IOException; |
| | | import java.io.OutputStream; |
| | | import java.util.Random; |
| | | |
| | | public class VerificationCode { |
| | | private final Logger logger = LoggerFactory.getLogger(VerificationCode.class); |
| | | |
| | | private int width = 100;// 生成验证码图片的宽度 |
| | | private int height = 30;// 生成验证码图片的高度 |
| | | private String[] fontNames = {"宋体", "楷体", "隶书", "微软雅黑"}; |
| | | private Color bgColor = new Color(255, 255, 255);// 定义验证码图片的背景颜色为白色 |
| | | private Random random = new Random(); |
| | | private String codes = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; |
| | | private String text;// 记录随机字符串 |
| | | |
| | | private Color randomColor() { |
| | | int red = random.nextInt(150); |
| | | int green = random.nextInt(150); |
| | | int blue = random.nextInt(150); |
| | | return new Color(red, green, blue); |
| | | } |
| | | |
| | | private Font randomFont() { |
| | | String name = fontNames[random.nextInt(fontNames.length)]; |
| | | int style = random.nextInt(4); |
| | | int size = random.nextInt(5) + 24; |
| | | return new Font(name, style, size); |
| | | } |
| | | |
| | | private char randomChar() { |
| | | return codes.charAt(random.nextInt(codes.length())); |
| | | } |
| | | |
| | | private BufferedImage createImage() { |
| | | BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); |
| | | Graphics2D g2 = (Graphics2D) image.getGraphics(); |
| | | g2.setColor(bgColor);// 设置验证码图片的背景颜色 |
| | | g2.fillRect(0, 0, width, height); |
| | | return image; |
| | | } |
| | | |
| | | public BufferedImage getImage() { |
| | | BufferedImage image = createImage(); |
| | | Graphics2D g2 = (Graphics2D) image.getGraphics(); |
| | | StringBuffer sb = new StringBuffer(); |
| | | for (int i = 0; i < 4; i++) { |
| | | String s = randomChar() + ""; |
| | | sb.append(s); |
| | | g2.setColor(randomColor()); |
| | | g2.setFont(randomFont()); |
| | | float x = i * width * 1.0f / 4; |
| | | g2.drawString(s, x, height - 8); |
| | | } |
| | | this.text = sb.toString(); |
| | | drawLine(image); |
| | | return image; |
| | | } |
| | | |
| | | private void drawLine(BufferedImage image) { |
| | | Graphics2D g2 = (Graphics2D) image.getGraphics(); |
| | | int num = 5; |
| | | for (int i = 0; i < num; i++) { |
| | | int x1 = random.nextInt(width); |
| | | int y1 = random.nextInt(height); |
| | | int x2 = random.nextInt(width); |
| | | int y2 = random.nextInt(height); |
| | | g2.setColor(randomColor()); |
| | | g2.setStroke(new BasicStroke(1.5f)); |
| | | g2.drawLine(x1, y1, x2, y2); |
| | | } |
| | | } |
| | | |
| | | public String getText() { |
| | | return text; |
| | | } |
| | | |
| | | public static void output(BufferedImage image, OutputStream out) throws IOException { |
| | | ImageIO.write(image, "JPEG", out); |
| | | } |
| | | |
| | | public static byte[] imageToBytes(BufferedImage bImage, String format) { |
| | | ByteArrayOutputStream out = new ByteArrayOutputStream(); |
| | | try { |
| | | ImageIO.write(bImage, format, out); |
| | | } catch (IOException e) { |
| | | |
| | | } |
| | | return out.toByteArray(); |
| | | } |
| | | |
| | | public static Image bytesToImage(byte[] bytes) { |
| | | Image image = Toolkit.getDefaultToolkit().createImage(bytes); |
| | | try { |
| | | MediaTracker mt = new MediaTracker(new Label()); |
| | | mt.addImage(image, 0); |
| | | mt.waitForAll(); |
| | | } catch (InterruptedException e) { |
| | | |
| | | } |
| | | |
| | | return image; |
| | | } |
| | | } |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| | | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| | | <modelVersion>4.0.0</modelVersion> |
| | | <packaging>jar</packaging> |
| | | <groupId>com.farriver.bwf.data.master</groupId> |
| | | <artifactId>master</artifactId> |
| | | <version>${revision}</version> |
| | | <parent> |
| | | <artifactId>bwf</artifactId> |
| | | <groupId>com.farriver.bwf</groupId> |
| | | <version>${revision}</version> |
| | | <relativePath>../pom.xml</relativePath> |
| | | </parent> |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>org.mybatis.generator</groupId> |
| | | <artifactId>mybatis-generator-maven-plugin</artifactId> |
| | | <version>1.3.7</version> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.itfsw</groupId> |
| | | <artifactId>mybatis-generator-plugin</artifactId> |
| | | <version>1.0.5</version> |
| | | </dependency> |
| | | </dependencies> |
| | | <build> |
| | | <resources> |
| | | <resource> |
| | | <directory>src/main/java</directory> |
| | | <includes> |
| | | <include>**/*.xml</include> |
| | | </includes> |
| | | </resource> |
| | | <resource> |
| | | <directory>src/main/resources</directory> |
| | | </resource> |
| | | </resources> |
| | | <plugins> |
| | | <plugin> |
| | | <groupId>org.mybatis.generator</groupId> |
| | | <artifactId>mybatis-generator-maven-plugin</artifactId> |
| | | <version>1.3.7</version> |
| | | <configuration> |
| | | <!--配置文件的位置--> |
| | | <configurationFile>src/main/resources/generatorConfig.xml</configurationFile> |
| | | <verbose>true</verbose> |
| | | <overwrite>true</overwrite> |
| | | </configuration> |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>mysql</groupId> |
| | | <artifactId>mysql-connector-java</artifactId> |
| | | <version>8.0.24</version> |
| | | <scope>runtime</scope> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.itfsw</groupId> |
| | | <artifactId>mybatis-generator-plugin</artifactId> |
| | | <version>1.0.5</version> |
| | | </dependency> |
| | | </dependencies> |
| | | <executions> |
| | | <execution> |
| | | <id>Generate MyBatis Artifacts</id> |
| | | <goals> |
| | | <goal>generate</goal> |
| | | </goals> |
| | | </execution> |
| | | </executions> |
| | | </plugin> |
| | | </plugins> |
| | | </build> |
| | | </project> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.entity; |
| | | |
| | | import com.farriver.bwf.data.master.model.OrderActive; |
| | | import com.farriver.bwf.data.master.model.OrderActiveProduct; |
| | | |
| | | import java.util.List; |
| | | |
| | | public class OrderActiveExtend extends OrderActive { |
| | | private List<OrderActiveProduct> products; |
| | | |
| | | public List<OrderActiveProduct> getProducts() { |
| | | return products; |
| | | } |
| | | |
| | | public void setProducts(List<OrderActiveProduct> products) { |
| | | this.products = products; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.data.master.entity; |
| | | |
| | | import com.farriver.bwf.data.master.model.OrderHistory; |
| | | import com.farriver.bwf.data.master.model.OrderHistoryProduct; |
| | | |
| | | import java.util.List; |
| | | |
| | | public class OrderHistoryExtend extends OrderHistory { |
| | | private List<OrderHistoryProduct> products; |
| | | |
| | | public List<OrderHistoryProduct> getProducts() { |
| | | return products; |
| | | } |
| | | |
| | | public void setProducts(List<OrderHistoryProduct> products) { |
| | | this.products = products; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.data.master.entity; |
| | | |
| | | import com.farriver.bwf.data.master.model.QuestionMasterAnswer; |
| | | import com.farriver.bwf.data.master.model.QuestionMasterOption; |
| | | import com.farriver.bwf.data.master.model.QuestionMasterWithBLOBs; |
| | | |
| | | import java.util.List; |
| | | |
| | | public class QuestionMasterWithBLOBsExtend extends QuestionMasterWithBLOBs { |
| | | private List<QuestionMasterAnswer> answers; |
| | | private List<QuestionMasterOption> options; |
| | | |
| | | public List<QuestionMasterAnswer> getAnswers() { |
| | | return answers; |
| | | } |
| | | |
| | | public void setAnswers(List<QuestionMasterAnswer> answers) { |
| | | this.answers = answers; |
| | | } |
| | | |
| | | public List<QuestionMasterOption> getOptions() { |
| | | return options; |
| | | } |
| | | |
| | | public void setOptions(List<QuestionMasterOption> options) { |
| | | this.options = options; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.data.master.entity; |
| | | |
| | | import com.farriver.bwf.data.master.model.ShoppingCart; |
| | | import com.farriver.bwf.data.master.model.ShoppingCartProduct; |
| | | |
| | | import java.util.List; |
| | | |
| | | public class ShoppingCartExtend extends ShoppingCart { |
| | | private List<ShoppingCartProduct> products; |
| | | |
| | | public List<ShoppingCartProduct> getProducts() { |
| | | return products; |
| | | } |
| | | |
| | | public void setProducts(List<ShoppingCartProduct> products) { |
| | | this.products = products; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.data.master.generator.comment; |
| | | |
| | | |
| | | import org.mybatis.generator.api.IntrospectedColumn; |
| | | import org.mybatis.generator.api.IntrospectedTable; |
| | | import org.mybatis.generator.api.dom.java.Field; |
| | | import org.mybatis.generator.api.dom.java.InnerClass; |
| | | import org.mybatis.generator.api.dom.java.Method; |
| | | import org.mybatis.generator.internal.DefaultCommentGenerator; |
| | | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.Properties; |
| | | |
| | | /** |
| | | * mybatis generator生成注释插件 |
| | | * <p> |
| | | * Created by huhaichao on 2017/5/15. |
| | | */ |
| | | public class MyCommentGenerator extends DefaultCommentGenerator { |
| | | private Properties properties; |
| | | private Properties systemPro; |
| | | private boolean suppressDate; |
| | | private boolean suppressAllComments; |
| | | private String currentDateStr; |
| | | |
| | | public MyCommentGenerator() { |
| | | super(); |
| | | properties = new Properties(); |
| | | systemPro = System.getProperties(); |
| | | suppressDate = false; |
| | | suppressAllComments = false; |
| | | currentDateStr = (new SimpleDateFormat("yyyy-MM-dd")).format(new Date()); |
| | | } |
| | | |
| | | |
| | | public void addFieldComment(Field field, IntrospectedTable introspectedTable, |
| | | IntrospectedColumn introspectedColumn) { |
| | | if (suppressAllComments) { |
| | | return; |
| | | } |
| | | StringBuilder sb = new StringBuilder(); |
| | | field.addJavaDocLine("/**"); |
| | | sb.append(" * "); |
| | | sb.append(introspectedColumn.getRemarks()); |
| | | field.addJavaDocLine(sb.toString().replace("\n", " ")); |
| | | field.addJavaDocLine(" */"); |
| | | } |
| | | |
| | | public void addFieldComment(Field field, IntrospectedTable introspectedTable) { |
| | | |
| | | } |
| | | |
| | | public void addGeneralMethodComment(Method method, IntrospectedTable introspectedTable) { |
| | | |
| | | } |
| | | |
| | | public void addGetterComment(Method method, IntrospectedTable introspectedTable, |
| | | IntrospectedColumn introspectedColumn) { |
| | | |
| | | } |
| | | |
| | | public void addSetterComment(Method method, IntrospectedTable introspectedTable, |
| | | IntrospectedColumn introspectedColumn) { |
| | | |
| | | } |
| | | |
| | | public void addClassComment(InnerClass innerClass, IntrospectedTable introspectedTable, boolean markAsDoNotDelete) { |
| | | |
| | | } |
| | | |
| | | public void addClassComment(InnerClass innerClass, IntrospectedTable introspectedTable) { |
| | | } |
| | | |
| | | |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.data.master.generator.plugin; |
| | | |
| | | import org.mybatis.generator.api.IntrospectedTable; |
| | | import org.mybatis.generator.api.PluginAdapter; |
| | | import org.mybatis.generator.api.dom.xml.TextElement; |
| | | import org.mybatis.generator.api.dom.xml.XmlElement; |
| | | |
| | | import java.util.List; |
| | | |
| | | public class DatabaseNamesPlugin extends PluginAdapter { |
| | | |
| | | private int commentRows = 5; |
| | | |
| | | public boolean validate(List<String> arg0) { |
| | | return true; |
| | | } |
| | | |
| | | @Override |
| | | public void initialized(IntrospectedTable introspectedTable) { |
| | | super.initialized(introspectedTable); |
| | | } |
| | | |
| | | @Override |
| | | public boolean sqlMapCountByExampleElementGenerated(XmlElement element, |
| | | IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 0, introspectedTable); |
| | | return super.sqlMapCountByExampleElementGenerated(element, introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapDeleteByExampleElementGenerated(XmlElement element, |
| | | IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 0, introspectedTable); |
| | | return super.sqlMapDeleteByExampleElementGenerated(element, introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapDeleteByPrimaryKeyElementGenerated(XmlElement element, |
| | | IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 0, introspectedTable); |
| | | return super.sqlMapDeleteByPrimaryKeyElementGenerated(element, |
| | | introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapInsertSelectiveElementGenerated(XmlElement element, |
| | | IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 1, introspectedTable); |
| | | return super.sqlMapInsertSelectiveElementGenerated(element, introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapSelectByExampleWithBLOBsElementGenerated( |
| | | XmlElement element, IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 3, introspectedTable); |
| | | return super.sqlMapSelectByExampleWithBLOBsElementGenerated(element, |
| | | introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated( |
| | | XmlElement element, IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 3, introspectedTable); |
| | | return super.sqlMapSelectByExampleWithoutBLOBsElementGenerated(element, |
| | | introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapSelectByPrimaryKeyElementGenerated(XmlElement element, |
| | | IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 2, introspectedTable); |
| | | return super.sqlMapSelectByPrimaryKeyElementGenerated(element, |
| | | introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapUpdateByExampleSelectiveElementGenerated( |
| | | XmlElement element, IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 0, introspectedTable); |
| | | return super.sqlMapUpdateByExampleSelectiveElementGenerated(element, |
| | | introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapUpdateByExampleWithBLOBsElementGenerated( |
| | | XmlElement element, IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 0, introspectedTable); |
| | | return super.sqlMapUpdateByExampleWithBLOBsElementGenerated(element, |
| | | introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapUpdateByExampleWithoutBLOBsElementGenerated( |
| | | XmlElement element, IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 0, introspectedTable); |
| | | return super.sqlMapUpdateByExampleWithoutBLOBsElementGenerated(element, |
| | | introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapUpdateByPrimaryKeySelectiveElementGenerated( |
| | | XmlElement element, IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 0, introspectedTable); |
| | | return super.sqlMapUpdateByPrimaryKeySelectiveElementGenerated(element, |
| | | introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated( |
| | | XmlElement element, IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 0, introspectedTable); |
| | | return super.sqlMapUpdateByPrimaryKeyWithBLOBsElementGenerated(element, |
| | | introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated( |
| | | XmlElement element, IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 0, introspectedTable); |
| | | return super.sqlMapUpdateByPrimaryKeyWithoutBLOBsElementGenerated(element, |
| | | introspectedTable); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public boolean sqlMapInsertElementGenerated(XmlElement element, |
| | | IntrospectedTable introspectedTable) { |
| | | modifyTableName(element, 1, introspectedTable); |
| | | return super.sqlMapInsertElementGenerated(element, introspectedTable); |
| | | } |
| | | |
| | | private void modifyTableName(XmlElement element, int index, IntrospectedTable introspectedTable) { |
| | | String tableName = introspectedTable.getAliasedFullyQualifiedTableNameAtRuntime(); |
| | | String rowContent = element.getElements().get(commentRows + index).getFormattedContent(0); |
| | | String schema = introspectedTable.getTableConfiguration().getSchema(); |
| | | element.getElements().remove(commentRows + index); |
| | | element.addElement(commentRows + index, new TextElement(rowContent.replace(tableName, schema + "." + tableName).toString())); |
| | | // element.addElement(0,new TextElement(introspectedTable.getSelectByExampleQueryId())); |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.data.master.generator.plugin; |
| | | |
| | | import org.mybatis.generator.api.IntrospectedColumn; |
| | | import org.mybatis.generator.api.IntrospectedTable; |
| | | import org.mybatis.generator.api.PluginAdapter; |
| | | import org.mybatis.generator.api.dom.java.FullyQualifiedJavaType; |
| | | import org.mybatis.generator.api.dom.java.Interface; |
| | | import org.mybatis.generator.api.dom.java.Method; |
| | | import org.mybatis.generator.api.dom.java.TopLevelClass; |
| | | |
| | | import java.util.*; |
| | | |
| | | |
| | | /** |
| | | * A MyBatis Generator plugin to use Lombok's annotations. |
| | | * For example, use @Data annotation instead of getter ands setter. |
| | | * |
| | | * @author Paolo Predonzani (http://softwareloop.com/) |
| | | */ |
| | | public class LombokPlugin extends PluginAdapter { |
| | | |
| | | private final Collection<Annotations> annotations; |
| | | |
| | | /** |
| | | * LombokPlugin constructor |
| | | */ |
| | | public LombokPlugin() { |
| | | annotations = new LinkedHashSet<Annotations>(Annotations.values().length); |
| | | } |
| | | |
| | | /** |
| | | * @param warnings list of warnings |
| | | * @return always true |
| | | */ |
| | | public boolean validate(List<String> warnings) { |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | | * Intercepts base record class generation |
| | | * |
| | | * @param topLevelClass the generated base record class |
| | | * @param introspectedTable The class containing information about the table as |
| | | * introspected from the database |
| | | * @return always true |
| | | */ |
| | | @Override |
| | | public boolean modelBaseRecordClassGenerated( |
| | | TopLevelClass topLevelClass, |
| | | IntrospectedTable introspectedTable |
| | | ) { |
| | | addAnnotations(topLevelClass); |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | | * Intercepts primary key class generation |
| | | * |
| | | * @param topLevelClass the generated primary key class |
| | | * @param introspectedTable The class containing information about the table as |
| | | * introspected from the database |
| | | * @return always true |
| | | */ |
| | | @Override |
| | | public boolean modelPrimaryKeyClassGenerated( |
| | | TopLevelClass topLevelClass, |
| | | IntrospectedTable introspectedTable |
| | | ) { |
| | | addAnnotations(topLevelClass); |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | | * Intercepts "record with blob" class generation |
| | | * |
| | | * @param topLevelClass the generated record with BLOBs class |
| | | * @param introspectedTable The class containing information about the table as |
| | | * introspected from the database |
| | | * @return always true |
| | | */ |
| | | @Override |
| | | public boolean modelRecordWithBLOBsClassGenerated( |
| | | TopLevelClass topLevelClass, |
| | | IntrospectedTable introspectedTable |
| | | ) { |
| | | addAnnotations(topLevelClass); |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | | * Prevents all getters from being generated. |
| | | * See SimpleModelGenerator |
| | | * |
| | | * @param method the getter, or accessor, method generated for the specified |
| | | * column |
| | | * @param topLevelClass the partially implemented model class |
| | | * @param introspectedColumn The class containing information about the column related |
| | | * to this field as introspected from the database |
| | | * @param introspectedTable The class containing information about the table as |
| | | * introspected from the database |
| | | * @param modelClassType the type of class that the field is generated for |
| | | */ |
| | | @Override |
| | | public boolean modelGetterMethodGenerated( |
| | | Method method, |
| | | TopLevelClass topLevelClass, |
| | | IntrospectedColumn introspectedColumn, |
| | | IntrospectedTable introspectedTable, |
| | | ModelClassType modelClassType |
| | | ) { |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * Prevents all setters from being generated |
| | | * See SimpleModelGenerator |
| | | * |
| | | * @param method the setter, or mutator, method generated for the specified |
| | | * column |
| | | * @param topLevelClass the partially implemented model class |
| | | * @param introspectedColumn The class containing information about the column related |
| | | * to this field as introspected from the database |
| | | * @param introspectedTable The class containing information about the table as |
| | | * introspected from the database |
| | | * @param modelClassType the type of class that the field is generated for |
| | | * @return always false |
| | | */ |
| | | @Override |
| | | public boolean modelSetterMethodGenerated( |
| | | Method method, |
| | | TopLevelClass topLevelClass, |
| | | IntrospectedColumn introspectedColumn, |
| | | IntrospectedTable introspectedTable, |
| | | ModelClassType modelClassType |
| | | ) { |
| | | return false; |
| | | } |
| | | |
| | | /** |
| | | * Adds the lombok annotations' imports and annotations to the class |
| | | * |
| | | * @param topLevelClass the partially implemented model class |
| | | */ |
| | | private void addAnnotations(TopLevelClass topLevelClass) { |
| | | for (Annotations annotation : annotations) { |
| | | topLevelClass.addImportedType(annotation.javaType); |
| | | topLevelClass.addAnnotation(annotation.asAnnotation()); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public void setProperties(Properties properties) { |
| | | super.setProperties(properties); |
| | | |
| | | //@Data is default annotation |
| | | annotations.add(Annotations.DATA); |
| | | |
| | | for (String annotationName : properties.stringPropertyNames()) { |
| | | if (annotationName.contains(".")) { |
| | | // Not an annotation name |
| | | continue; |
| | | } |
| | | String value = properties.getProperty(annotationName); |
| | | if (!Boolean.parseBoolean(value)) { |
| | | // The annotation is disabled, skip it |
| | | continue; |
| | | } |
| | | Annotations annotation = Annotations.getValueOf(annotationName); |
| | | if (annotation == null) { |
| | | continue; |
| | | } |
| | | String optionsPrefix = annotationName + "."; |
| | | for (String propertyName : properties.stringPropertyNames()) { |
| | | if (!propertyName.startsWith(optionsPrefix)) { |
| | | // A property not related to this annotation |
| | | continue; |
| | | } |
| | | String propertyValue = properties.getProperty(propertyName); |
| | | annotation.appendOptions(propertyName, propertyValue); |
| | | annotations.add(annotation); |
| | | annotations.addAll(Annotations.getDependencies(annotation)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public boolean clientGenerated( |
| | | Interface interfaze, |
| | | TopLevelClass topLevelClass, |
| | | IntrospectedTable introspectedTable |
| | | ) { |
| | | interfaze.addImportedType(new FullyQualifiedJavaType( |
| | | "org.apache.ibatis.annotations.Mapper")); |
| | | interfaze.addAnnotation("@Mapper"); |
| | | return true; |
| | | } |
| | | |
| | | private enum Annotations { |
| | | DATA("data", "@Data", "lombok.Data"), |
| | | BUILDER("builder", "@Builder", "lombok.Builder"), |
| | | ALL_ARGS_CONSTRUCTOR("allArgsConstructor", "@AllArgsConstructor", "lombok.AllArgsConstructor"), |
| | | NO_ARGS_CONSTRUCTOR("noArgsConstructor", "@NoArgsConstructor", "lombok.NoArgsConstructor"), |
| | | ACCESSORS("accessors", "@Accessors", "lombok.experimental.Accessors"), |
| | | TO_STRING("toString", "@ToString", "lombok.ToString"); |
| | | |
| | | |
| | | private final String paramName; |
| | | private final String name; |
| | | private final FullyQualifiedJavaType javaType; |
| | | private final List<String> options; |
| | | |
| | | |
| | | Annotations(String paramName, String name, String className) { |
| | | this.paramName = paramName; |
| | | this.name = name; |
| | | this.javaType = new FullyQualifiedJavaType(className); |
| | | this.options = new ArrayList<String>(); |
| | | } |
| | | |
| | | private static Annotations getValueOf(String paramName) { |
| | | for (Annotations annotation : Annotations.values()) |
| | | if (String.CASE_INSENSITIVE_ORDER.compare(paramName, annotation.paramName) == 0) |
| | | return annotation; |
| | | |
| | | return null; |
| | | } |
| | | |
| | | private static Collection<Annotations> getDependencies(Annotations annotation) { |
| | | if (annotation == ALL_ARGS_CONSTRUCTOR) |
| | | return Collections.singleton(NO_ARGS_CONSTRUCTOR); |
| | | else |
| | | return Collections.emptyList(); |
| | | } |
| | | |
| | | // A trivial quoting. |
| | | // Because Lombok annotation options type is almost String or boolean. |
| | | private static String quote(String value) { |
| | | if (Boolean.TRUE.toString().equals(value) || Boolean.FALSE.toString().equals(value)) |
| | | // case of boolean, not passed as an array. |
| | | return value; |
| | | return value.replaceAll("[\\w]+", "\"$0\""); |
| | | } |
| | | |
| | | private void appendOptions(String key, String value) { |
| | | String keyPart = key.substring(key.indexOf(".") + 1); |
| | | String valuePart = value.contains(",") ? String.format("{%s}", value) : value; |
| | | this.options.add(String.format("%s=%s", keyPart, quote(valuePart))); |
| | | } |
| | | |
| | | private String asAnnotation() { |
| | | if (options.isEmpty()) { |
| | | return name; |
| | | } |
| | | StringBuilder sb = new StringBuilder(); |
| | | sb.append(name); |
| | | sb.append("("); |
| | | boolean first = true; |
| | | for (String option : options) { |
| | | if (first) { |
| | | first = false; |
| | | } else { |
| | | sb.append(", "); |
| | | } |
| | | sb.append(option); |
| | | } |
| | | sb.append(")"); |
| | | return sb.toString(); |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.data.master.generator.plugin; |
| | | |
| | | import org.mybatis.generator.api.IntrospectedTable; |
| | | import org.mybatis.generator.api.PluginAdapter; |
| | | import org.mybatis.generator.api.dom.java.*; |
| | | import org.mybatis.generator.api.dom.xml.Attribute; |
| | | import org.mybatis.generator.api.dom.xml.TextElement; |
| | | import org.mybatis.generator.api.dom.xml.XmlElement; |
| | | |
| | | import java.util.List; |
| | | |
| | | public class MySQLLimitPlugin extends PluginAdapter { |
| | | |
| | | @Override |
| | | public boolean validate(List<String> list) { |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | | * 为每个Example类添加limit和offset属性已经set、get方法 |
| | | */ |
| | | @Override |
| | | public boolean modelExampleClassGenerated(TopLevelClass topLevelClass, IntrospectedTable introspectedTable) { |
| | | |
| | | PrimitiveTypeWrapper integerWrapper = FullyQualifiedJavaType.getIntInstance().getPrimitiveTypeWrapper(); |
| | | |
| | | Field limit = new Field(); |
| | | limit.setName("limit"); |
| | | limit.setVisibility(JavaVisibility.PRIVATE); |
| | | limit.setType(integerWrapper); |
| | | topLevelClass.addField(limit); |
| | | |
| | | Method setLimit = new Method(); |
| | | setLimit.setVisibility(JavaVisibility.PUBLIC); |
| | | setLimit.setName("setLimit"); |
| | | setLimit.addParameter(new Parameter(integerWrapper, "limit")); |
| | | setLimit.addBodyLine("this.limit = limit;"); |
| | | topLevelClass.addMethod(setLimit); |
| | | |
| | | Method getLimit = new Method(); |
| | | getLimit.setVisibility(JavaVisibility.PUBLIC); |
| | | getLimit.setReturnType(integerWrapper); |
| | | getLimit.setName("getLimit"); |
| | | getLimit.addBodyLine("return limit;"); |
| | | topLevelClass.addMethod(getLimit); |
| | | |
| | | Field offset = new Field(); |
| | | offset.setName("offset"); |
| | | offset.setVisibility(JavaVisibility.PRIVATE); |
| | | offset.setType(integerWrapper); |
| | | topLevelClass.addField(offset); |
| | | |
| | | Method setOffset = new Method(); |
| | | setOffset.setVisibility(JavaVisibility.PUBLIC); |
| | | setOffset.setName("setOffset"); |
| | | setOffset.addParameter(new Parameter(integerWrapper, "offset")); |
| | | setOffset.addBodyLine("this.offset = offset;"); |
| | | topLevelClass.addMethod(setOffset); |
| | | |
| | | Method getOffset = new Method(); |
| | | getOffset.setVisibility(JavaVisibility.PUBLIC); |
| | | getOffset.setReturnType(integerWrapper); |
| | | getOffset.setName("getOffset"); |
| | | getOffset.addBodyLine("return offset;"); |
| | | topLevelClass.addMethod(getOffset); |
| | | |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | | * 为Mapper.xml的selectByExample添加limit |
| | | */ |
| | | @Override |
| | | public boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable) { |
| | | |
| | | XmlElement ifLimitNotNullElement = new XmlElement("if"); |
| | | ifLimitNotNullElement.addAttribute(new Attribute("test", "limit != null")); |
| | | |
| | | XmlElement ifOffsetNotNullElement = new XmlElement("if"); |
| | | ifOffsetNotNullElement.addAttribute(new Attribute("test", "offset != null")); |
| | | ifOffsetNotNullElement.addElement(new TextElement("limit ${offset}, ${limit}")); |
| | | ifLimitNotNullElement.addElement(ifOffsetNotNullElement); |
| | | |
| | | XmlElement ifOffsetNullElement = new XmlElement("if"); |
| | | ifOffsetNullElement.addAttribute(new Attribute("test", "offset == null")); |
| | | ifOffsetNullElement.addElement(new TextElement("limit ${limit}")); |
| | | ifLimitNotNullElement.addElement(ifOffsetNullElement); |
| | | |
| | | element.addElement(ifLimitNotNullElement); |
| | | |
| | | return true; |
| | | } |
| | | |
| | | @Override |
| | | public boolean sqlMapSelectByExampleWithBLOBsElementGenerated(XmlElement element, IntrospectedTable introspectedTable) { |
| | | |
| | | XmlElement ifLimitNotNullElement = new XmlElement("if"); |
| | | ifLimitNotNullElement.addAttribute(new Attribute("test", "limit != null")); |
| | | |
| | | XmlElement ifOffsetNotNullElement = new XmlElement("if"); |
| | | ifOffsetNotNullElement.addAttribute(new Attribute("test", "offset != null")); |
| | | ifOffsetNotNullElement.addElement(new TextElement("limit ${offset}, ${limit}")); |
| | | ifLimitNotNullElement.addElement(ifOffsetNotNullElement); |
| | | |
| | | XmlElement ifOffsetNullElement = new XmlElement("if"); |
| | | ifOffsetNullElement.addAttribute(new Attribute("test", "offset == null")); |
| | | ifOffsetNullElement.addElement(new TextElement("limit ${limit}")); |
| | | ifLimitNotNullElement.addElement(ifOffsetNullElement); |
| | | |
| | | element.addElement(ifLimitNotNullElement); |
| | | |
| | | return true; |
| | | } |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.data.master.generator.plugin; |
| | | |
| | | import org.mybatis.generator.api.IntrospectedTable; |
| | | import org.mybatis.generator.api.PluginAdapter; |
| | | import org.mybatis.generator.api.dom.xml.Element; |
| | | import org.mybatis.generator.api.dom.xml.TextElement; |
| | | import org.mybatis.generator.api.dom.xml.XmlElement; |
| | | |
| | | import java.util.List; |
| | | /** |
| | | * <pre> |
| | | * add pagination using mysql limit. |
| | | * This class is only used in ibator code generator. |
| | | * </pre> |
| | | */ |
| | | |
| | | /** |
| | | * mysql 分页生成插件 |
| | | */ |
| | | |
| | | public class MysqlDeleteByExamplePlugin extends PluginAdapter { |
| | | |
| | | |
| | | /** |
| | | * |
| | | * delete from table语句增加别名 |
| | | * 改为delete alias from table |
| | | */ |
| | | @Override |
| | | public boolean sqlMapDeleteByExampleElementGenerated( |
| | | XmlElement element, IntrospectedTable introspectedTable) { |
| | | List<Element> elements = element.getElements(); |
| | | String tableNameALias = introspectedTable.getAliasedFullyQualifiedTableNameAtRuntime(); |
| | | String[] strings = tableNameALias.trim().split("\\s+"); |
| | | |
| | | if (strings.length > 1) { |
| | | int index = 0; |
| | | for (Element cur : elements) { |
| | | String content = cur.getFormattedContent(0); |
| | | if (content.contains("delete from")) { |
| | | String alias = strings[1]; |
| | | String deleteSql = "delete " + alias + " from " + tableNameALias; |
| | | TextElement deleteElement = new TextElement(deleteSql); |
| | | elements.remove(cur); |
| | | element.addElement(index, deleteElement); |
| | | break; |
| | | } |
| | | index++; |
| | | } |
| | | |
| | | } |
| | | return super.sqlMapDeleteByExampleElementGenerated(element, introspectedTable); |
| | | } |
| | | |
| | | /** |
| | | * This plugin is always valid - no properties are required |
| | | */ |
| | | public boolean validate(List<String> warnings) { |
| | | return true; |
| | | } |
| | | |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.data.master.generator.plugin; |
| | | |
| | | import org.mybatis.generator.api.CommentGenerator; |
| | | import org.mybatis.generator.api.IntrospectedTable; |
| | | import org.mybatis.generator.api.PluginAdapter; |
| | | import org.mybatis.generator.api.dom.java.*; |
| | | import org.mybatis.generator.api.dom.xml.Attribute; |
| | | import org.mybatis.generator.api.dom.xml.TextElement; |
| | | import org.mybatis.generator.api.dom.xml.XmlElement; |
| | | |
| | | import java.util.List; |
| | | /** |
| | | * <pre> |
| | | * add pagination using mysql limit. |
| | | * This class is only used in ibator code generator. |
| | | * </pre> |
| | | */ |
| | | |
| | | /** |
| | | * mysql 分页生成插件 |
| | | */ |
| | | |
| | | public class MysqlPagePlugin extends PluginAdapter { |
| | | |
| | | /** |
| | | * 添加 分页 开始行数 和结束行数 属性 |
| | | */ |
| | | @Override |
| | | public boolean modelExampleClassGenerated(TopLevelClass topLevelClass, |
| | | IntrospectedTable introspectedTable) { |
| | | // add field, getter, setter for limit clause |
| | | |
| | | addProperty(topLevelClass, introspectedTable, "limitStart", FullyQualifiedJavaType.getIntInstance()); |
| | | |
| | | addProperty(topLevelClass, introspectedTable, "limitEnd", FullyQualifiedJavaType.getIntInstance()); |
| | | |
| | | addProperty(topLevelClass, introspectedTable, "groupByClause", FullyQualifiedJavaType.getStringInstance()); |
| | | |
| | | return super.modelExampleClassGenerated(topLevelClass, introspectedTable); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 添加 映射 文件配置 limit 的配置 |
| | | */ |
| | | @Override |
| | | public boolean sqlMapSelectByExampleWithoutBLOBsElementGenerated( |
| | | XmlElement element, IntrospectedTable introspectedTable) { |
| | | |
| | | // XmlElement isParameterPresenteElemen = (XmlElement) element.getElements(); |
| | | //设置 if 判断 节点 |
| | | XmlElement limitElement = new XmlElement("if"); //$NON-NLS-1$ |
| | | |
| | | //给 节点添加 条件运算符 |
| | | limitElement.addAttribute(new Attribute("test", "limitEnd > 0")); //$NON-NLS-1$ //$NON-NLS-2$ |
| | | //如果条件成立 就进行分页查询 |
| | | limitElement.addElement(new TextElement( |
| | | "limit #{limitStart,jdbcType=INTEGER} , #{limitEnd,jdbcType=INTEGER}")); |
| | | //添加节点到 配置文件中 |
| | | element.addElement(limitElement); |
| | | |
| | | XmlElement groupbyElement = new XmlElement("if"); //$NON-NLS-1$ |
| | | |
| | | //给 节点添加 条件运算符 |
| | | groupbyElement.addAttribute(new Attribute("test", "groupByClause != null")); //$NON-NLS-1$ //$NON-NLS-2$ |
| | | //如果条件成立 就进行分页查询 |
| | | groupbyElement.addElement(new TextElement( |
| | | "group by ${groupByClause}")); |
| | | //添加节点到 配置文件中 |
| | | element.addElement(groupbyElement); |
| | | |
| | | return super.sqlMapUpdateByExampleWithoutBLOBsElementGenerated(element, introspectedTable); |
| | | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 给对应的实体 实体添加 属性字段 |
| | | */ |
| | | private void addProperty(TopLevelClass topLevelClass, |
| | | IntrospectedTable introspectedTable, String name, FullyQualifiedJavaType fullyQualifiedJavaType) { |
| | | CommentGenerator commentGenerator = context.getCommentGenerator(); |
| | | Field field = new Field(); |
| | | field.setVisibility(JavaVisibility.PROTECTED); |
| | | field.setType(fullyQualifiedJavaType); |
| | | field.setName(name); |
| | | |
| | | // field.setInitializationString("-1"); |
| | | |
| | | commentGenerator.addFieldComment(field, introspectedTable); |
| | | |
| | | topLevelClass.addField(field); |
| | | char c = name.charAt(0); |
| | | String camel = Character.toUpperCase(c) + name.substring(1); |
| | | Method method = new Method(); |
| | | method.setVisibility(JavaVisibility.PUBLIC); |
| | | method.setName("set" + camel); |
| | | method.addParameter(new Parameter(fullyQualifiedJavaType, name)); |
| | | |
| | | method.addBodyLine("this." + name + "=" + name + ";"); |
| | | commentGenerator.addGeneralMethodComment(method, introspectedTable); |
| | | topLevelClass.addMethod(method); |
| | | method = new Method(); |
| | | method.setVisibility(JavaVisibility.PUBLIC); |
| | | method.setReturnType(fullyQualifiedJavaType); |
| | | method.setName("get" + camel); |
| | | method.addBodyLine("return " + name + ";"); |
| | | commentGenerator.addGeneralMethodComment(method, introspectedTable); |
| | | topLevelClass.addMethod(method); |
| | | } |
| | | |
| | | /** |
| | | * This plugin is always valid - no properties are required |
| | | */ |
| | | public boolean validate(List<String> warnings) { |
| | | return true; |
| | | } |
| | | |
| | | // public static void generate() { |
| | | // String config = MysqlPagePlugin.class.getClassLoader().getResource("generatorConfig-w5Log.xml").getFile(); |
| | | // String[] arg = { "-configfile", config, "-overwrite" }; |
| | | // ShellRunner.main(arg); |
| | | // } |
| | | // public static void main(String[] args) { |
| | | // generate(); |
| | | // } |
| | | |
| | | } |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.entity.OrderActiveExtend; |
| | | import com.farriver.bwf.data.master.model.OrderActive; |
| | | import com.farriver.bwf.data.master.model.OrderActiveExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface OrderActiveMapper { |
| | | long countByExample(OrderActiveExample example); |
| | | |
| | | int deleteByExample(OrderActiveExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(OrderActive record); |
| | | |
| | | int insertSelective(OrderActive record); |
| | | |
| | | List<OrderActive> selectByExample(OrderActiveExample example); |
| | | |
| | | List<OrderActiveExtend> selectOrderActiveExtendByExample(OrderActiveExample example); |
| | | |
| | | OrderActive selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") OrderActive record, @Param("example") OrderActiveExample example); |
| | | |
| | | int updateByExample(@Param("record") OrderActive record, @Param("example") OrderActiveExample example); |
| | | |
| | | int updateByPrimaryKeySelective(OrderActive record); |
| | | |
| | | int updateByPrimaryKey(OrderActive record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.OrderActiveMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.OrderActive"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="no" jdbcType="VARCHAR" property="no"/> |
| | | <result column="totalmoney" jdbcType="DECIMAL" property="totalmoney"/> |
| | | <result column="payedmoney" jdbcType="DECIMAL" property="payedmoney"/> |
| | | <result column="paymentmethod" jdbcType="INTEGER" property="paymentmethod"/> |
| | | <result column="discountmoney" jdbcType="DECIMAL" property="discountmoney"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="ordertime" jdbcType="TIMESTAMP" property="ordertime"/> |
| | | <result column="paytime" jdbcType="TIMESTAMP" property="paytime"/> |
| | | <result column="sendtime" jdbcType="TIMESTAMP" property="sendtime"/> |
| | | <result column="receivetime" jdbcType="TIMESTAMP" property="receivetime"/> |
| | | <result column="commenttime" jdbcType="TIMESTAMP" property="commenttime"/> |
| | | <result column="completetime" jdbcType="TIMESTAMP" property="completetime"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="sendername" jdbcType="VARCHAR" property="sendername"/> |
| | | <result column="sendercode" jdbcType="VARCHAR" property="sendercode"/> |
| | | <result column="sendercontactno" jdbcType="INTEGER" property="sendercontactno"/> |
| | | <result column="targetaddress" jdbcType="VARCHAR" property="targetaddress"/> |
| | | <result column="deliveryaddress" jdbcType="VARCHAR" property="deliveryaddress"/> |
| | | <result column="optimalcoupon" jdbcType="VARCHAR" property="optimalcoupon"/> |
| | | <result column="logisticscompany" jdbcType="VARCHAR" property="logisticscompany"/> |
| | | <result column="logisticsno" jdbcType="VARCHAR" property="logisticsno"/> |
| | | <result column="transportmode" jdbcType="VARCHAR" property="transportmode"/> |
| | | <result column="boxcount" jdbcType="INTEGER" property="boxcount"/> |
| | | <result column="boxweight" jdbcType="DECIMAL" property="boxweight"/> |
| | | <result column="freight" jdbcType="DECIMAL" property="freight"/> |
| | | <result column="commentcontent" jdbcType="VARCHAR" property="commentcontent"/> |
| | | <result column="commentlevel" jdbcType="INTEGER" property="commentlevel"/> |
| | | <result column="receiverid" jdbcType="VARCHAR" property="receiverid"/> |
| | | <result column="vipuserId" jdbcType="VARCHAR" property="vipuserid"/> |
| | | <result column="vipname" jdbcType="VARCHAR" property="vipname"/> |
| | | <result column="vipphone" jdbcType="VARCHAR" property="vipphone"/> |
| | | <result column="vipdiamondtype" jdbcType="INTEGER" property="vipdiamondtype"/> |
| | | <result column="viptype" jdbcType="INTEGER" property="viptype"/> |
| | | <result column="vippicture" jdbcType="VARCHAR" property="vippicture"/> |
| | | <result column="vipcarddiscountrate" jdbcType="DECIMAL" property="vipcarddiscountrate"/> |
| | | <result column="type" jdbcType="INTEGER" property="type"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , no, totalmoney, payedmoney, paymentmethod, discountmoney, status, ordertime, |
| | | paytime, sendtime, receivetime, commenttime, completetime, isdeleted, remark, createtime, |
| | | updatetime, sendername, sendercode, sendercontactno, targetaddress, deliveryaddress, |
| | | optimalcoupon, logisticscompany, logisticsno, transportmode, boxcount, boxweight, |
| | | freight, commentcontent, commentlevel, receiverid, vipuserId, vipname, vipphone, |
| | | vipdiamondtype, viptype, vippicture, vipcarddiscountrate, type |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.OrderActiveExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from order_active |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from order_active |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from order_active |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.OrderActiveExample"> |
| | | delete from order_active |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.OrderActive"> |
| | | insert into order_active (id, no, totalmoney, |
| | | payedmoney, paymentmethod, discountmoney, |
| | | status, ordertime, paytime, |
| | | sendtime, receivetime, commenttime, |
| | | completetime, isdeleted, remark, |
| | | createtime, updatetime, sendername, |
| | | sendercode, sendercontactno, targetaddress, |
| | | deliveryaddress, optimalcoupon, logisticscompany, |
| | | logisticsno, transportmode, boxcount, |
| | | boxweight, freight, commentcontent, |
| | | commentlevel, receiverid, vipuserId, |
| | | vipname, vipphone, vipdiamondtype, |
| | | viptype, vippicture, vipcarddiscountrate, |
| | | type) |
| | | values (#{id,jdbcType=VARCHAR}, #{no,jdbcType=VARCHAR}, #{totalmoney,jdbcType=DECIMAL}, |
| | | #{payedmoney,jdbcType=DECIMAL}, #{paymentmethod,jdbcType=INTEGER}, #{discountmoney,jdbcType=DECIMAL}, |
| | | #{status,jdbcType=INTEGER}, #{ordertime,jdbcType=TIMESTAMP}, #{paytime,jdbcType=TIMESTAMP}, |
| | | #{sendtime,jdbcType=TIMESTAMP}, #{receivetime,jdbcType=TIMESTAMP}, #{commenttime,jdbcType=TIMESTAMP}, |
| | | #{completetime,jdbcType=TIMESTAMP}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{sendername,jdbcType=VARCHAR}, |
| | | #{sendercode,jdbcType=VARCHAR}, #{sendercontactno,jdbcType=INTEGER}, #{targetaddress,jdbcType=VARCHAR}, |
| | | #{deliveryaddress,jdbcType=VARCHAR}, #{optimalcoupon,jdbcType=VARCHAR}, |
| | | #{logisticscompany,jdbcType=VARCHAR}, |
| | | #{logisticsno,jdbcType=VARCHAR}, #{transportmode,jdbcType=VARCHAR}, #{boxcount,jdbcType=INTEGER}, |
| | | #{boxweight,jdbcType=DECIMAL}, #{freight,jdbcType=DECIMAL}, #{commentcontent,jdbcType=VARCHAR}, |
| | | #{commentlevel,jdbcType=INTEGER}, #{receiverid,jdbcType=VARCHAR}, #{vipuserid,jdbcType=VARCHAR}, |
| | | #{vipname,jdbcType=VARCHAR}, #{vipphone,jdbcType=VARCHAR}, #{vipdiamondtype,jdbcType=INTEGER}, |
| | | #{viptype,jdbcType=INTEGER}, #{vippicture,jdbcType=VARCHAR}, #{vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | #{type,jdbcType=INTEGER}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.OrderActive"> |
| | | insert into order_active |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="no != null"> |
| | | no, |
| | | </if> |
| | | <if test="totalmoney != null"> |
| | | totalmoney, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | payedmoney, |
| | | </if> |
| | | <if test="paymentmethod != null"> |
| | | paymentmethod, |
| | | </if> |
| | | <if test="discountmoney != null"> |
| | | discountmoney, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="ordertime != null"> |
| | | ordertime, |
| | | </if> |
| | | <if test="paytime != null"> |
| | | paytime, |
| | | </if> |
| | | <if test="sendtime != null"> |
| | | sendtime, |
| | | </if> |
| | | <if test="receivetime != null"> |
| | | receivetime, |
| | | </if> |
| | | <if test="commenttime != null"> |
| | | commenttime, |
| | | </if> |
| | | <if test="completetime != null"> |
| | | completetime, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="sendername != null"> |
| | | sendername, |
| | | </if> |
| | | <if test="sendercode != null"> |
| | | sendercode, |
| | | </if> |
| | | <if test="sendercontactno != null"> |
| | | sendercontactno, |
| | | </if> |
| | | <if test="targetaddress != null"> |
| | | targetaddress, |
| | | </if> |
| | | <if test="deliveryaddress != null"> |
| | | deliveryaddress, |
| | | </if> |
| | | <if test="optimalcoupon != null"> |
| | | optimalcoupon, |
| | | </if> |
| | | <if test="logisticscompany != null"> |
| | | logisticscompany, |
| | | </if> |
| | | <if test="logisticsno != null"> |
| | | logisticsno, |
| | | </if> |
| | | <if test="transportmode != null"> |
| | | transportmode, |
| | | </if> |
| | | <if test="boxcount != null"> |
| | | boxcount, |
| | | </if> |
| | | <if test="boxweight != null"> |
| | | boxweight, |
| | | </if> |
| | | <if test="freight != null"> |
| | | freight, |
| | | </if> |
| | | <if test="commentcontent != null"> |
| | | commentcontent, |
| | | </if> |
| | | <if test="commentlevel != null"> |
| | | commentlevel, |
| | | </if> |
| | | <if test="receiverid != null"> |
| | | receiverid, |
| | | </if> |
| | | <if test="vipuserid != null"> |
| | | vipuserId, |
| | | </if> |
| | | <if test="vipname != null"> |
| | | vipname, |
| | | </if> |
| | | <if test="vipphone != null"> |
| | | vipphone, |
| | | </if> |
| | | <if test="vipdiamondtype != null"> |
| | | vipdiamondtype, |
| | | </if> |
| | | <if test="viptype != null"> |
| | | viptype, |
| | | </if> |
| | | <if test="vippicture != null"> |
| | | vippicture, |
| | | </if> |
| | | <if test="vipcarddiscountrate != null"> |
| | | vipcarddiscountrate, |
| | | </if> |
| | | <if test="type != null"> |
| | | type, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="no != null"> |
| | | #{no,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="totalmoney != null"> |
| | | #{totalmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | #{payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="paymentmethod != null"> |
| | | #{paymentmethod,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="discountmoney != null"> |
| | | #{discountmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="ordertime != null"> |
| | | #{ordertime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="paytime != null"> |
| | | #{paytime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="sendtime != null"> |
| | | #{sendtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="receivetime != null"> |
| | | #{receivetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="commenttime != null"> |
| | | #{commenttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="completetime != null"> |
| | | #{completetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="sendername != null"> |
| | | #{sendername,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sendercode != null"> |
| | | #{sendercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sendercontactno != null"> |
| | | #{sendercontactno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="targetaddress != null"> |
| | | #{targetaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="deliveryaddress != null"> |
| | | #{deliveryaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="optimalcoupon != null"> |
| | | #{optimalcoupon,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="logisticscompany != null"> |
| | | #{logisticscompany,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="logisticsno != null"> |
| | | #{logisticsno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="transportmode != null"> |
| | | #{transportmode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="boxcount != null"> |
| | | #{boxcount,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="boxweight != null"> |
| | | #{boxweight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="freight != null"> |
| | | #{freight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="commentcontent != null"> |
| | | #{commentcontent,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="commentlevel != null"> |
| | | #{commentlevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="receiverid != null"> |
| | | #{receiverid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipuserid != null"> |
| | | #{vipuserid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipname != null"> |
| | | #{vipname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipphone != null"> |
| | | #{vipphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipdiamondtype != null"> |
| | | #{vipdiamondtype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="viptype != null"> |
| | | #{viptype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="vippicture != null"> |
| | | #{vippicture,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipcarddiscountrate != null"> |
| | | #{vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="type != null"> |
| | | #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.OrderActiveExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from order_active |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update order_active |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.no != null"> |
| | | no = #{record.no,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.totalmoney != null"> |
| | | totalmoney = #{record.totalmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.payedmoney != null"> |
| | | payedmoney = #{record.payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.paymentmethod != null"> |
| | | paymentmethod = #{record.paymentmethod,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.discountmoney != null"> |
| | | discountmoney = #{record.discountmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.ordertime != null"> |
| | | ordertime = #{record.ordertime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.paytime != null"> |
| | | paytime = #{record.paytime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.sendtime != null"> |
| | | sendtime = #{record.sendtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.receivetime != null"> |
| | | receivetime = #{record.receivetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.commenttime != null"> |
| | | commenttime = #{record.commenttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.completetime != null"> |
| | | completetime = #{record.completetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.sendername != null"> |
| | | sendername = #{record.sendername,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.sendercode != null"> |
| | | sendercode = #{record.sendercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.sendercontactno != null"> |
| | | sendercontactno = #{record.sendercontactno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.targetaddress != null"> |
| | | targetaddress = #{record.targetaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.deliveryaddress != null"> |
| | | deliveryaddress = #{record.deliveryaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.optimalcoupon != null"> |
| | | optimalcoupon = #{record.optimalcoupon,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.logisticscompany != null"> |
| | | logisticscompany = #{record.logisticscompany,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.logisticsno != null"> |
| | | logisticsno = #{record.logisticsno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.transportmode != null"> |
| | | transportmode = #{record.transportmode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.boxcount != null"> |
| | | boxcount = #{record.boxcount,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.boxweight != null"> |
| | | boxweight = #{record.boxweight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.freight != null"> |
| | | freight = #{record.freight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.commentcontent != null"> |
| | | commentcontent = #{record.commentcontent,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.commentlevel != null"> |
| | | commentlevel = #{record.commentlevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.receiverid != null"> |
| | | receiverid = #{record.receiverid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipuserid != null"> |
| | | vipuserId = #{record.vipuserid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipname != null"> |
| | | vipname = #{record.vipname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipphone != null"> |
| | | vipphone = #{record.vipphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipdiamondtype != null"> |
| | | vipdiamondtype = #{record.vipdiamondtype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.viptype != null"> |
| | | viptype = #{record.viptype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.vippicture != null"> |
| | | vippicture = #{record.vippicture,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipcarddiscountrate != null"> |
| | | vipcarddiscountrate = #{record.vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.type != null"> |
| | | type = #{record.type,jdbcType=INTEGER}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update order_active |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | no = #{record.no,jdbcType=VARCHAR}, |
| | | totalmoney = #{record.totalmoney,jdbcType=DECIMAL}, |
| | | payedmoney = #{record.payedmoney,jdbcType=DECIMAL}, |
| | | paymentmethod = #{record.paymentmethod,jdbcType=INTEGER}, |
| | | discountmoney = #{record.discountmoney,jdbcType=DECIMAL}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | ordertime = #{record.ordertime,jdbcType=TIMESTAMP}, |
| | | paytime = #{record.paytime,jdbcType=TIMESTAMP}, |
| | | sendtime = #{record.sendtime,jdbcType=TIMESTAMP}, |
| | | receivetime = #{record.receivetime,jdbcType=TIMESTAMP}, |
| | | commenttime = #{record.commenttime,jdbcType=TIMESTAMP}, |
| | | completetime = #{record.completetime,jdbcType=TIMESTAMP}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | sendername = #{record.sendername,jdbcType=VARCHAR}, |
| | | sendercode = #{record.sendercode,jdbcType=VARCHAR}, |
| | | sendercontactno = #{record.sendercontactno,jdbcType=INTEGER}, |
| | | targetaddress = #{record.targetaddress,jdbcType=VARCHAR}, |
| | | deliveryaddress = #{record.deliveryaddress,jdbcType=VARCHAR}, |
| | | optimalcoupon = #{record.optimalcoupon,jdbcType=VARCHAR}, |
| | | logisticscompany = #{record.logisticscompany,jdbcType=VARCHAR}, |
| | | logisticsno = #{record.logisticsno,jdbcType=VARCHAR}, |
| | | transportmode = #{record.transportmode,jdbcType=VARCHAR}, |
| | | boxcount = #{record.boxcount,jdbcType=INTEGER}, |
| | | boxweight = #{record.boxweight,jdbcType=DECIMAL}, |
| | | freight = #{record.freight,jdbcType=DECIMAL}, |
| | | commentcontent = #{record.commentcontent,jdbcType=VARCHAR}, |
| | | commentlevel = #{record.commentlevel,jdbcType=INTEGER}, |
| | | receiverid = #{record.receiverid,jdbcType=VARCHAR}, |
| | | vipuserId = #{record.vipuserid,jdbcType=VARCHAR}, |
| | | vipname = #{record.vipname,jdbcType=VARCHAR}, |
| | | vipphone = #{record.vipphone,jdbcType=VARCHAR}, |
| | | vipdiamondtype = #{record.vipdiamondtype,jdbcType=INTEGER}, |
| | | viptype = #{record.viptype,jdbcType=INTEGER}, |
| | | vippicture = #{record.vippicture,jdbcType=VARCHAR}, |
| | | vipcarddiscountrate = #{record.vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | type = #{record.type,jdbcType=INTEGER} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.OrderActive"> |
| | | update order_active |
| | | <set> |
| | | <if test="no != null"> |
| | | no = #{no,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="totalmoney != null"> |
| | | totalmoney = #{totalmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | payedmoney = #{payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="paymentmethod != null"> |
| | | paymentmethod = #{paymentmethod,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="discountmoney != null"> |
| | | discountmoney = #{discountmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="ordertime != null"> |
| | | ordertime = #{ordertime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="paytime != null"> |
| | | paytime = #{paytime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="sendtime != null"> |
| | | sendtime = #{sendtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="receivetime != null"> |
| | | receivetime = #{receivetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="commenttime != null"> |
| | | commenttime = #{commenttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="completetime != null"> |
| | | completetime = #{completetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="sendername != null"> |
| | | sendername = #{sendername,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sendercode != null"> |
| | | sendercode = #{sendercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sendercontactno != null"> |
| | | sendercontactno = #{sendercontactno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="targetaddress != null"> |
| | | targetaddress = #{targetaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="deliveryaddress != null"> |
| | | deliveryaddress = #{deliveryaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="optimalcoupon != null"> |
| | | optimalcoupon = #{optimalcoupon,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="logisticscompany != null"> |
| | | logisticscompany = #{logisticscompany,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="logisticsno != null"> |
| | | logisticsno = #{logisticsno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="transportmode != null"> |
| | | transportmode = #{transportmode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="boxcount != null"> |
| | | boxcount = #{boxcount,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="boxweight != null"> |
| | | boxweight = #{boxweight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="freight != null"> |
| | | freight = #{freight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="commentcontent != null"> |
| | | commentcontent = #{commentcontent,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="commentlevel != null"> |
| | | commentlevel = #{commentlevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="receiverid != null"> |
| | | receiverid = #{receiverid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipuserid != null"> |
| | | vipuserId = #{vipuserid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipname != null"> |
| | | vipname = #{vipname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipphone != null"> |
| | | vipphone = #{vipphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipdiamondtype != null"> |
| | | vipdiamondtype = #{vipdiamondtype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="viptype != null"> |
| | | viptype = #{viptype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="vippicture != null"> |
| | | vippicture = #{vippicture,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipcarddiscountrate != null"> |
| | | vipcarddiscountrate = #{vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="type != null"> |
| | | type = #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.OrderActive"> |
| | | update order_active |
| | | set no = #{no,jdbcType=VARCHAR}, |
| | | totalmoney = #{totalmoney,jdbcType=DECIMAL}, |
| | | payedmoney = #{payedmoney,jdbcType=DECIMAL}, |
| | | paymentmethod = #{paymentmethod,jdbcType=INTEGER}, |
| | | discountmoney = #{discountmoney,jdbcType=DECIMAL}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | ordertime = #{ordertime,jdbcType=TIMESTAMP}, |
| | | paytime = #{paytime,jdbcType=TIMESTAMP}, |
| | | sendtime = #{sendtime,jdbcType=TIMESTAMP}, |
| | | receivetime = #{receivetime,jdbcType=TIMESTAMP}, |
| | | commenttime = #{commenttime,jdbcType=TIMESTAMP}, |
| | | completetime = #{completetime,jdbcType=TIMESTAMP}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | sendername = #{sendername,jdbcType=VARCHAR}, |
| | | sendercode = #{sendercode,jdbcType=VARCHAR}, |
| | | sendercontactno = #{sendercontactno,jdbcType=INTEGER}, |
| | | targetaddress = #{targetaddress,jdbcType=VARCHAR}, |
| | | deliveryaddress = #{deliveryaddress,jdbcType=VARCHAR}, |
| | | optimalcoupon = #{optimalcoupon,jdbcType=VARCHAR}, |
| | | logisticscompany = #{logisticscompany,jdbcType=VARCHAR}, |
| | | logisticsno = #{logisticsno,jdbcType=VARCHAR}, |
| | | transportmode = #{transportmode,jdbcType=VARCHAR}, |
| | | boxcount = #{boxcount,jdbcType=INTEGER}, |
| | | boxweight = #{boxweight,jdbcType=DECIMAL}, |
| | | freight = #{freight,jdbcType=DECIMAL}, |
| | | commentcontent = #{commentcontent,jdbcType=VARCHAR}, |
| | | commentlevel = #{commentlevel,jdbcType=INTEGER}, |
| | | receiverid = #{receiverid,jdbcType=VARCHAR}, |
| | | vipuserId = #{vipuserid,jdbcType=VARCHAR}, |
| | | vipname = #{vipname,jdbcType=VARCHAR}, |
| | | vipphone = #{vipphone,jdbcType=VARCHAR}, |
| | | vipdiamondtype = #{vipdiamondtype,jdbcType=INTEGER}, |
| | | viptype = #{viptype,jdbcType=INTEGER}, |
| | | vippicture = #{vippicture,jdbcType=VARCHAR}, |
| | | vipcarddiscountrate = #{vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | type = #{type,jdbcType=INTEGER} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <resultMap extends="BaseResultMap" id="OrderActiveExtendResultMap" |
| | | type="com.farriver.bwf.data.master.entity.OrderActiveExtend"> |
| | | <collection ofType="com.farriver.bwf.data.master.model.OrderActiveProduct" property="products"> |
| | | <id column="p_id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="p_isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="p_remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="p_createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="p_updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="p_productid" jdbcType="VARCHAR" property="productid"/> |
| | | <result column="p_productcode" jdbcType="VARCHAR" property="productcode"/> |
| | | <result column="p_productname" jdbcType="VARCHAR" property="productname"/> |
| | | <result column="p_status" jdbcType="INTEGER" property="status"/> |
| | | <result column="p_color" jdbcType="VARCHAR" property="color"/> |
| | | <result column="p_size" jdbcType="VARCHAR" property="size"/> |
| | | <result column="p_count" jdbcType="INTEGER" property="count"/> |
| | | <result column="p_image" jdbcType="VARCHAR" property="image"/> |
| | | <result column="p_price" jdbcType="DECIMAL" property="price"/> |
| | | <result column="p_saleprice" jdbcType="DECIMAL" property="saleprice"/> |
| | | <result column="p_rejectreason" jdbcType="VARCHAR" property="rejectreason"/> |
| | | <result column="p_rejectcomment" jdbcType="VARCHAR" property="rejectcomment"/> |
| | | <result column="p_rejecttime" jdbcType="TIMESTAMP" property="rejecttime"/> |
| | | <result column="p_payer" jdbcType="VARCHAR" property="payer"/> |
| | | <result column="p_payedmoney" jdbcType="DECIMAL" property="payedmoney"/> |
| | | <result column="p_discount" jdbcType="DECIMAL" property="discount"/> |
| | | <result column="p_payee" jdbcType="VARCHAR" property="payee"/> |
| | | <result column="p_orderid" jdbcType="VARCHAR" property="orderid"/> |
| | | <result column="p_orderno" jdbcType="VARCHAR" property="orderno"/> |
| | | </collection> |
| | | </resultMap> |
| | | <select id="selectOrderActiveExtendByExample" |
| | | parameterType="com.farriver.bwf.data.master.model.OrderActiveExample" |
| | | resultMap="OrderActiveExtendResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | o.*, |
| | | p.id AS p_id, |
| | | p.isdeleted AS p_isdeleted, |
| | | p.remark AS p_remark, |
| | | p.createtime AS p_createtime, |
| | | p.updatetime AS p_updatetime, |
| | | p.productid AS p_productid, |
| | | p.productcode AS p_productcode, |
| | | p.productname AS p_productname, |
| | | p.status AS p_status, |
| | | p.color AS p_color, |
| | | p.size AS p_size, |
| | | p.count AS p_count, |
| | | p.image AS p_image, |
| | | p.price AS p_price, |
| | | p.saleprice AS p_saleprice, |
| | | p.rejectreason AS p_rejectreason, |
| | | p.rejectcomment AS p_rejectcomment, |
| | | p.rejecttime AS p_rejecttime, |
| | | p.payer AS p_payer, |
| | | p.payedmoney AS p_payedmoney, |
| | | p.discount AS p_discount, |
| | | p.payee AS p_payee, |
| | | p.orderid AS p_orderid, |
| | | p.orderno AS p_orderno |
| | | FROM ( |
| | | SELECT * FROM order_active |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | ) o |
| | | LEFT JOIN order_active_product p ON o.id = p.orderid |
| | | </select> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.OrderActiveProduct; |
| | | import com.farriver.bwf.data.master.model.OrderActiveProductExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface OrderActiveProductMapper { |
| | | long countByExample(OrderActiveProductExample example); |
| | | |
| | | int deleteByExample(OrderActiveProductExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(OrderActiveProduct record); |
| | | |
| | | int insertSelective(OrderActiveProduct record); |
| | | |
| | | List<OrderActiveProduct> selectByExample(OrderActiveProductExample example); |
| | | |
| | | OrderActiveProduct selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") OrderActiveProduct record, @Param("example") OrderActiveProductExample example); |
| | | |
| | | int updateByExample(@Param("record") OrderActiveProduct record, @Param("example") OrderActiveProductExample example); |
| | | |
| | | int updateByPrimaryKeySelective(OrderActiveProduct record); |
| | | |
| | | int updateByPrimaryKey(OrderActiveProduct record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.OrderActiveProductMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.OrderActiveProduct"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="productid" jdbcType="VARCHAR" property="productid"/> |
| | | <result column="productcode" jdbcType="VARCHAR" property="productcode"/> |
| | | <result column="productname" jdbcType="VARCHAR" property="productname"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="color" jdbcType="VARCHAR" property="color"/> |
| | | <result column="size" jdbcType="VARCHAR" property="size"/> |
| | | <result column="count" jdbcType="INTEGER" property="count"/> |
| | | <result column="image" jdbcType="VARCHAR" property="image"/> |
| | | <result column="price" jdbcType="DECIMAL" property="price"/> |
| | | <result column="saleprice" jdbcType="DECIMAL" property="saleprice"/> |
| | | <result column="rejectreason" jdbcType="VARCHAR" property="rejectreason"/> |
| | | <result column="rejectcomment" jdbcType="VARCHAR" property="rejectcomment"/> |
| | | <result column="rejecttime" jdbcType="TIMESTAMP" property="rejecttime"/> |
| | | <result column="payer" jdbcType="VARCHAR" property="payer"/> |
| | | <result column="payedmoney" jdbcType="DECIMAL" property="payedmoney"/> |
| | | <result column="discount" jdbcType="DECIMAL" property="discount"/> |
| | | <result column="payee" jdbcType="VARCHAR" property="payee"/> |
| | | <result column="orderid" jdbcType="VARCHAR" property="orderid"/> |
| | | <result column="orderno" jdbcType="VARCHAR" property="orderno"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , isdeleted, remark, createtime, updatetime, productid, productcode, productname, |
| | | status, color, size, count, image, price, saleprice, rejectreason, rejectcomment, |
| | | rejecttime, payer, payedmoney, discount, payee, orderid, orderno |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.OrderActiveProductExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from order_active_product |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from order_active_product |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from order_active_product |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.OrderActiveProductExample"> |
| | | delete from order_active_product |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.OrderActiveProduct"> |
| | | insert into order_active_product (id, isdeleted, remark, |
| | | createtime, updatetime, productid, |
| | | productcode, productname, status, |
| | | color, size, count, |
| | | image, price, saleprice, |
| | | rejectreason, rejectcomment, rejecttime, |
| | | payer, payedmoney, discount, |
| | | payee, orderid, orderno) |
| | | values (#{id,jdbcType=VARCHAR}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{productid,jdbcType=VARCHAR}, |
| | | #{productcode,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, |
| | | #{color,jdbcType=VARCHAR}, #{size,jdbcType=VARCHAR}, #{count,jdbcType=INTEGER}, |
| | | #{image,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, #{saleprice,jdbcType=DECIMAL}, |
| | | #{rejectreason,jdbcType=VARCHAR}, #{rejectcomment,jdbcType=VARCHAR}, #{rejecttime,jdbcType=TIMESTAMP}, |
| | | #{payer,jdbcType=VARCHAR}, #{payedmoney,jdbcType=DECIMAL}, #{discount,jdbcType=DECIMAL}, |
| | | #{payee,jdbcType=VARCHAR}, #{orderid,jdbcType=VARCHAR}, #{orderno,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.OrderActiveProduct"> |
| | | insert into order_active_product |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="productid != null"> |
| | | productid, |
| | | </if> |
| | | <if test="productcode != null"> |
| | | productcode, |
| | | </if> |
| | | <if test="productname != null"> |
| | | productname, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="color != null"> |
| | | color, |
| | | </if> |
| | | <if test="size != null"> |
| | | size, |
| | | </if> |
| | | <if test="count != null"> |
| | | count, |
| | | </if> |
| | | <if test="image != null"> |
| | | image, |
| | | </if> |
| | | <if test="price != null"> |
| | | price, |
| | | </if> |
| | | <if test="saleprice != null"> |
| | | saleprice, |
| | | </if> |
| | | <if test="rejectreason != null"> |
| | | rejectreason, |
| | | </if> |
| | | <if test="rejectcomment != null"> |
| | | rejectcomment, |
| | | </if> |
| | | <if test="rejecttime != null"> |
| | | rejecttime, |
| | | </if> |
| | | <if test="payer != null"> |
| | | payer, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | payedmoney, |
| | | </if> |
| | | <if test="discount != null"> |
| | | discount, |
| | | </if> |
| | | <if test="payee != null"> |
| | | payee, |
| | | </if> |
| | | <if test="orderid != null"> |
| | | orderid, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | orderno, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="productid != null"> |
| | | #{productid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productcode != null"> |
| | | #{productcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productname != null"> |
| | | #{productname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="color != null"> |
| | | #{color,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="size != null"> |
| | | #{size,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="count != null"> |
| | | #{count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="image != null"> |
| | | #{image,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="price != null"> |
| | | #{price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="saleprice != null"> |
| | | #{saleprice,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="rejectreason != null"> |
| | | #{rejectreason,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="rejectcomment != null"> |
| | | #{rejectcomment,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="rejecttime != null"> |
| | | #{rejecttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="payer != null"> |
| | | #{payer,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | #{payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discount != null"> |
| | | #{discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="payee != null"> |
| | | #{payee,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="orderid != null"> |
| | | #{orderid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | #{orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.OrderActiveProductExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from order_active_product |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update order_active_product |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.productid != null"> |
| | | productid = #{record.productid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.productcode != null"> |
| | | productcode = #{record.productcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.productname != null"> |
| | | productname = #{record.productname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.color != null"> |
| | | color = #{record.color,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.size != null"> |
| | | size = #{record.size,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.count != null"> |
| | | count = #{record.count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.image != null"> |
| | | image = #{record.image,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.price != null"> |
| | | price = #{record.price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.saleprice != null"> |
| | | saleprice = #{record.saleprice,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.rejectreason != null"> |
| | | rejectreason = #{record.rejectreason,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.rejectcomment != null"> |
| | | rejectcomment = #{record.rejectcomment,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.rejecttime != null"> |
| | | rejecttime = #{record.rejecttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.payer != null"> |
| | | payer = #{record.payer,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.payedmoney != null"> |
| | | payedmoney = #{record.payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.discount != null"> |
| | | discount = #{record.discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.payee != null"> |
| | | payee = #{record.payee,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.orderid != null"> |
| | | orderid = #{record.orderid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.orderno != null"> |
| | | orderno = #{record.orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update order_active_product |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | productid = #{record.productid,jdbcType=VARCHAR}, |
| | | productcode = #{record.productcode,jdbcType=VARCHAR}, |
| | | productname = #{record.productname,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | color = #{record.color,jdbcType=VARCHAR}, |
| | | size = #{record.size,jdbcType=VARCHAR}, |
| | | count = #{record.count,jdbcType=INTEGER}, |
| | | image = #{record.image,jdbcType=VARCHAR}, |
| | | price = #{record.price,jdbcType=DECIMAL}, |
| | | saleprice = #{record.saleprice,jdbcType=DECIMAL}, |
| | | rejectreason = #{record.rejectreason,jdbcType=VARCHAR}, |
| | | rejectcomment = #{record.rejectcomment,jdbcType=VARCHAR}, |
| | | rejecttime = #{record.rejecttime,jdbcType=TIMESTAMP}, |
| | | payer = #{record.payer,jdbcType=VARCHAR}, |
| | | payedmoney = #{record.payedmoney,jdbcType=DECIMAL}, |
| | | discount = #{record.discount,jdbcType=DECIMAL}, |
| | | payee = #{record.payee,jdbcType=VARCHAR}, |
| | | orderid = #{record.orderid,jdbcType=VARCHAR}, |
| | | orderno = #{record.orderno,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" |
| | | parameterType="com.farriver.bwf.data.master.model.OrderActiveProduct"> |
| | | update order_active_product |
| | | <set> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="productid != null"> |
| | | productid = #{productid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productcode != null"> |
| | | productcode = #{productcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productname != null"> |
| | | productname = #{productname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="color != null"> |
| | | color = #{color,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="size != null"> |
| | | size = #{size,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="count != null"> |
| | | count = #{count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="image != null"> |
| | | image = #{image,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="price != null"> |
| | | price = #{price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="saleprice != null"> |
| | | saleprice = #{saleprice,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="rejectreason != null"> |
| | | rejectreason = #{rejectreason,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="rejectcomment != null"> |
| | | rejectcomment = #{rejectcomment,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="rejecttime != null"> |
| | | rejecttime = #{rejecttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="payer != null"> |
| | | payer = #{payer,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | payedmoney = #{payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discount != null"> |
| | | discount = #{discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="payee != null"> |
| | | payee = #{payee,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="orderid != null"> |
| | | orderid = #{orderid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | orderno = #{orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.OrderActiveProduct"> |
| | | update order_active_product |
| | | set isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | productid = #{productid,jdbcType=VARCHAR}, |
| | | productcode = #{productcode,jdbcType=VARCHAR}, |
| | | productname = #{productname,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | color = #{color,jdbcType=VARCHAR}, |
| | | size = #{size,jdbcType=VARCHAR}, |
| | | count = #{count,jdbcType=INTEGER}, |
| | | image = #{image,jdbcType=VARCHAR}, |
| | | price = #{price,jdbcType=DECIMAL}, |
| | | saleprice = #{saleprice,jdbcType=DECIMAL}, |
| | | rejectreason = #{rejectreason,jdbcType=VARCHAR}, |
| | | rejectcomment = #{rejectcomment,jdbcType=VARCHAR}, |
| | | rejecttime = #{rejecttime,jdbcType=TIMESTAMP}, |
| | | payer = #{payer,jdbcType=VARCHAR}, |
| | | payedmoney = #{payedmoney,jdbcType=DECIMAL}, |
| | | discount = #{discount,jdbcType=DECIMAL}, |
| | | payee = #{payee,jdbcType=VARCHAR}, |
| | | orderid = #{orderid,jdbcType=VARCHAR}, |
| | | orderno = #{orderno,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.entity.OrderHistoryExtend; |
| | | import com.farriver.bwf.data.master.model.OrderHistory; |
| | | import com.farriver.bwf.data.master.model.OrderHistoryExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface OrderHistoryMapper { |
| | | long countByExample(OrderHistoryExample example); |
| | | |
| | | int deleteByExample(OrderHistoryExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(OrderHistory record); |
| | | |
| | | int insertSelective(OrderHistory record); |
| | | |
| | | List<OrderHistory> selectByExample(OrderHistoryExample example); |
| | | |
| | | List<OrderHistoryExtend> selectOrderHistoryExtendByExample(OrderHistoryExample example); |
| | | |
| | | OrderHistory selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") OrderHistory record, @Param("example") OrderHistoryExample example); |
| | | |
| | | int updateByExample(@Param("record") OrderHistory record, @Param("example") OrderHistoryExample example); |
| | | |
| | | int updateByPrimaryKeySelective(OrderHistory record); |
| | | |
| | | int updateByPrimaryKey(OrderHistory record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.OrderHistoryMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.OrderHistory"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="no" jdbcType="VARCHAR" property="no"/> |
| | | <result column="totalmoney" jdbcType="DECIMAL" property="totalmoney"/> |
| | | <result column="payedmoney" jdbcType="DECIMAL" property="payedmoney"/> |
| | | <result column="paymentmethod" jdbcType="INTEGER" property="paymentmethod"/> |
| | | <result column="discountmoney" jdbcType="DECIMAL" property="discountmoney"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="ordertime" jdbcType="TIMESTAMP" property="ordertime"/> |
| | | <result column="paytime" jdbcType="TIMESTAMP" property="paytime"/> |
| | | <result column="sendtime" jdbcType="TIMESTAMP" property="sendtime"/> |
| | | <result column="receivetime" jdbcType="TIMESTAMP" property="receivetime"/> |
| | | <result column="commenttime" jdbcType="TIMESTAMP" property="commenttime"/> |
| | | <result column="completetime" jdbcType="TIMESTAMP" property="completetime"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="sendername" jdbcType="VARCHAR" property="sendername"/> |
| | | <result column="sendercode" jdbcType="VARCHAR" property="sendercode"/> |
| | | <result column="sendercontactno" jdbcType="INTEGER" property="sendercontactno"/> |
| | | <result column="targetaddress" jdbcType="VARCHAR" property="targetaddress"/> |
| | | <result column="deliveryaddress" jdbcType="VARCHAR" property="deliveryaddress"/> |
| | | <result column="optimalcoupon" jdbcType="VARCHAR" property="optimalcoupon"/> |
| | | <result column="logisticscompany" jdbcType="VARCHAR" property="logisticscompany"/> |
| | | <result column="logisticsno" jdbcType="VARCHAR" property="logisticsno"/> |
| | | <result column="transportmode" jdbcType="VARCHAR" property="transportmode"/> |
| | | <result column="boxcount" jdbcType="INTEGER" property="boxcount"/> |
| | | <result column="boxweight" jdbcType="DECIMAL" property="boxweight"/> |
| | | <result column="freight" jdbcType="DECIMAL" property="freight"/> |
| | | <result column="commentcontent" jdbcType="VARCHAR" property="commentcontent"/> |
| | | <result column="commentlevel" jdbcType="INTEGER" property="commentlevel"/> |
| | | <result column="receiverid" jdbcType="VARCHAR" property="receiverid"/> |
| | | <result column="vipuserId" jdbcType="VARCHAR" property="vipuserid"/> |
| | | <result column="vipname" jdbcType="VARCHAR" property="vipname"/> |
| | | <result column="vipphone" jdbcType="VARCHAR" property="vipphone"/> |
| | | <result column="vipdiamondtype" jdbcType="INTEGER" property="vipdiamondtype"/> |
| | | <result column="viptype" jdbcType="INTEGER" property="viptype"/> |
| | | <result column="vippicture" jdbcType="VARCHAR" property="vippicture"/> |
| | | <result column="vipcarddiscountrate" jdbcType="DECIMAL" property="vipcarddiscountrate"/> |
| | | <result column="type" jdbcType="INTEGER" property="type"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , no, totalmoney, payedmoney, paymentmethod, discountmoney, status, ordertime, |
| | | paytime, sendtime, receivetime, commenttime, completetime, isdeleted, remark, createtime, |
| | | updatetime, sendername, sendercode, sendercontactno, targetaddress, deliveryaddress, |
| | | optimalcoupon, logisticscompany, logisticsno, transportmode, boxcount, boxweight, |
| | | freight, commentcontent, commentlevel, receiverid, vipuserId, vipname, vipphone, |
| | | vipdiamondtype, viptype, vippicture, vipcarddiscountrate, type |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.OrderHistoryExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from order_history |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from order_history |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from order_history |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.OrderHistoryExample"> |
| | | delete from order_history |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.OrderHistory"> |
| | | insert into order_history (id, no, totalmoney, |
| | | payedmoney, paymentmethod, discountmoney, |
| | | status, ordertime, paytime, |
| | | sendtime, receivetime, commenttime, |
| | | completetime, isdeleted, remark, |
| | | createtime, updatetime, sendername, |
| | | sendercode, sendercontactno, targetaddress, |
| | | deliveryaddress, optimalcoupon, logisticscompany, |
| | | logisticsno, transportmode, boxcount, |
| | | boxweight, freight, commentcontent, |
| | | commentlevel, receiverid, vipuserId, |
| | | vipname, vipphone, vipdiamondtype, |
| | | viptype, vippicture, vipcarddiscountrate, |
| | | type) |
| | | values (#{id,jdbcType=VARCHAR}, #{no,jdbcType=VARCHAR}, #{totalmoney,jdbcType=DECIMAL}, |
| | | #{payedmoney,jdbcType=DECIMAL}, #{paymentmethod,jdbcType=INTEGER}, #{discountmoney,jdbcType=DECIMAL}, |
| | | #{status,jdbcType=INTEGER}, #{ordertime,jdbcType=TIMESTAMP}, #{paytime,jdbcType=TIMESTAMP}, |
| | | #{sendtime,jdbcType=TIMESTAMP}, #{receivetime,jdbcType=TIMESTAMP}, #{commenttime,jdbcType=TIMESTAMP}, |
| | | #{completetime,jdbcType=TIMESTAMP}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{sendername,jdbcType=VARCHAR}, |
| | | #{sendercode,jdbcType=VARCHAR}, #{sendercontactno,jdbcType=INTEGER}, #{targetaddress,jdbcType=VARCHAR}, |
| | | #{deliveryaddress,jdbcType=VARCHAR}, #{optimalcoupon,jdbcType=VARCHAR}, |
| | | #{logisticscompany,jdbcType=VARCHAR}, |
| | | #{logisticsno,jdbcType=VARCHAR}, #{transportmode,jdbcType=VARCHAR}, #{boxcount,jdbcType=INTEGER}, |
| | | #{boxweight,jdbcType=DECIMAL}, #{freight,jdbcType=DECIMAL}, #{commentcontent,jdbcType=VARCHAR}, |
| | | #{commentlevel,jdbcType=INTEGER}, #{receiverid,jdbcType=VARCHAR}, #{vipuserid,jdbcType=VARCHAR}, |
| | | #{vipname,jdbcType=VARCHAR}, #{vipphone,jdbcType=VARCHAR}, #{vipdiamondtype,jdbcType=INTEGER}, |
| | | #{viptype,jdbcType=INTEGER}, #{vippicture,jdbcType=VARCHAR}, #{vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | #{type,jdbcType=INTEGER}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.OrderHistory"> |
| | | insert into order_history |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="no != null"> |
| | | no, |
| | | </if> |
| | | <if test="totalmoney != null"> |
| | | totalmoney, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | payedmoney, |
| | | </if> |
| | | <if test="paymentmethod != null"> |
| | | paymentmethod, |
| | | </if> |
| | | <if test="discountmoney != null"> |
| | | discountmoney, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="ordertime != null"> |
| | | ordertime, |
| | | </if> |
| | | <if test="paytime != null"> |
| | | paytime, |
| | | </if> |
| | | <if test="sendtime != null"> |
| | | sendtime, |
| | | </if> |
| | | <if test="receivetime != null"> |
| | | receivetime, |
| | | </if> |
| | | <if test="commenttime != null"> |
| | | commenttime, |
| | | </if> |
| | | <if test="completetime != null"> |
| | | completetime, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="sendername != null"> |
| | | sendername, |
| | | </if> |
| | | <if test="sendercode != null"> |
| | | sendercode, |
| | | </if> |
| | | <if test="sendercontactno != null"> |
| | | sendercontactno, |
| | | </if> |
| | | <if test="targetaddress != null"> |
| | | targetaddress, |
| | | </if> |
| | | <if test="deliveryaddress != null"> |
| | | deliveryaddress, |
| | | </if> |
| | | <if test="optimalcoupon != null"> |
| | | optimalcoupon, |
| | | </if> |
| | | <if test="logisticscompany != null"> |
| | | logisticscompany, |
| | | </if> |
| | | <if test="logisticsno != null"> |
| | | logisticsno, |
| | | </if> |
| | | <if test="transportmode != null"> |
| | | transportmode, |
| | | </if> |
| | | <if test="boxcount != null"> |
| | | boxcount, |
| | | </if> |
| | | <if test="boxweight != null"> |
| | | boxweight, |
| | | </if> |
| | | <if test="freight != null"> |
| | | freight, |
| | | </if> |
| | | <if test="commentcontent != null"> |
| | | commentcontent, |
| | | </if> |
| | | <if test="commentlevel != null"> |
| | | commentlevel, |
| | | </if> |
| | | <if test="receiverid != null"> |
| | | receiverid, |
| | | </if> |
| | | <if test="vipuserid != null"> |
| | | vipuserId, |
| | | </if> |
| | | <if test="vipname != null"> |
| | | vipname, |
| | | </if> |
| | | <if test="vipphone != null"> |
| | | vipphone, |
| | | </if> |
| | | <if test="vipdiamondtype != null"> |
| | | vipdiamondtype, |
| | | </if> |
| | | <if test="viptype != null"> |
| | | viptype, |
| | | </if> |
| | | <if test="vippicture != null"> |
| | | vippicture, |
| | | </if> |
| | | <if test="vipcarddiscountrate != null"> |
| | | vipcarddiscountrate, |
| | | </if> |
| | | <if test="type != null"> |
| | | type, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="no != null"> |
| | | #{no,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="totalmoney != null"> |
| | | #{totalmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | #{payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="paymentmethod != null"> |
| | | #{paymentmethod,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="discountmoney != null"> |
| | | #{discountmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="ordertime != null"> |
| | | #{ordertime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="paytime != null"> |
| | | #{paytime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="sendtime != null"> |
| | | #{sendtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="receivetime != null"> |
| | | #{receivetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="commenttime != null"> |
| | | #{commenttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="completetime != null"> |
| | | #{completetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="sendername != null"> |
| | | #{sendername,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sendercode != null"> |
| | | #{sendercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sendercontactno != null"> |
| | | #{sendercontactno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="targetaddress != null"> |
| | | #{targetaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="deliveryaddress != null"> |
| | | #{deliveryaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="optimalcoupon != null"> |
| | | #{optimalcoupon,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="logisticscompany != null"> |
| | | #{logisticscompany,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="logisticsno != null"> |
| | | #{logisticsno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="transportmode != null"> |
| | | #{transportmode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="boxcount != null"> |
| | | #{boxcount,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="boxweight != null"> |
| | | #{boxweight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="freight != null"> |
| | | #{freight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="commentcontent != null"> |
| | | #{commentcontent,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="commentlevel != null"> |
| | | #{commentlevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="receiverid != null"> |
| | | #{receiverid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipuserid != null"> |
| | | #{vipuserid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipname != null"> |
| | | #{vipname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipphone != null"> |
| | | #{vipphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipdiamondtype != null"> |
| | | #{vipdiamondtype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="viptype != null"> |
| | | #{viptype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="vippicture != null"> |
| | | #{vippicture,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipcarddiscountrate != null"> |
| | | #{vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="type != null"> |
| | | #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.OrderHistoryExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from order_history |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update order_history |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.no != null"> |
| | | no = #{record.no,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.totalmoney != null"> |
| | | totalmoney = #{record.totalmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.payedmoney != null"> |
| | | payedmoney = #{record.payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.paymentmethod != null"> |
| | | paymentmethod = #{record.paymentmethod,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.discountmoney != null"> |
| | | discountmoney = #{record.discountmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.ordertime != null"> |
| | | ordertime = #{record.ordertime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.paytime != null"> |
| | | paytime = #{record.paytime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.sendtime != null"> |
| | | sendtime = #{record.sendtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.receivetime != null"> |
| | | receivetime = #{record.receivetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.commenttime != null"> |
| | | commenttime = #{record.commenttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.completetime != null"> |
| | | completetime = #{record.completetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.sendername != null"> |
| | | sendername = #{record.sendername,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.sendercode != null"> |
| | | sendercode = #{record.sendercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.sendercontactno != null"> |
| | | sendercontactno = #{record.sendercontactno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.targetaddress != null"> |
| | | targetaddress = #{record.targetaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.deliveryaddress != null"> |
| | | deliveryaddress = #{record.deliveryaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.optimalcoupon != null"> |
| | | optimalcoupon = #{record.optimalcoupon,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.logisticscompany != null"> |
| | | logisticscompany = #{record.logisticscompany,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.logisticsno != null"> |
| | | logisticsno = #{record.logisticsno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.transportmode != null"> |
| | | transportmode = #{record.transportmode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.boxcount != null"> |
| | | boxcount = #{record.boxcount,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.boxweight != null"> |
| | | boxweight = #{record.boxweight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.freight != null"> |
| | | freight = #{record.freight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.commentcontent != null"> |
| | | commentcontent = #{record.commentcontent,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.commentlevel != null"> |
| | | commentlevel = #{record.commentlevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.receiverid != null"> |
| | | receiverid = #{record.receiverid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipuserid != null"> |
| | | vipuserId = #{record.vipuserid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipname != null"> |
| | | vipname = #{record.vipname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipphone != null"> |
| | | vipphone = #{record.vipphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipdiamondtype != null"> |
| | | vipdiamondtype = #{record.vipdiamondtype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.viptype != null"> |
| | | viptype = #{record.viptype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.vippicture != null"> |
| | | vippicture = #{record.vippicture,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipcarddiscountrate != null"> |
| | | vipcarddiscountrate = #{record.vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.type != null"> |
| | | type = #{record.type,jdbcType=INTEGER}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update order_history |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | no = #{record.no,jdbcType=VARCHAR}, |
| | | totalmoney = #{record.totalmoney,jdbcType=DECIMAL}, |
| | | payedmoney = #{record.payedmoney,jdbcType=DECIMAL}, |
| | | paymentmethod = #{record.paymentmethod,jdbcType=INTEGER}, |
| | | discountmoney = #{record.discountmoney,jdbcType=DECIMAL}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | ordertime = #{record.ordertime,jdbcType=TIMESTAMP}, |
| | | paytime = #{record.paytime,jdbcType=TIMESTAMP}, |
| | | sendtime = #{record.sendtime,jdbcType=TIMESTAMP}, |
| | | receivetime = #{record.receivetime,jdbcType=TIMESTAMP}, |
| | | commenttime = #{record.commenttime,jdbcType=TIMESTAMP}, |
| | | completetime = #{record.completetime,jdbcType=TIMESTAMP}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | sendername = #{record.sendername,jdbcType=VARCHAR}, |
| | | sendercode = #{record.sendercode,jdbcType=VARCHAR}, |
| | | sendercontactno = #{record.sendercontactno,jdbcType=INTEGER}, |
| | | targetaddress = #{record.targetaddress,jdbcType=VARCHAR}, |
| | | deliveryaddress = #{record.deliveryaddress,jdbcType=VARCHAR}, |
| | | optimalcoupon = #{record.optimalcoupon,jdbcType=VARCHAR}, |
| | | logisticscompany = #{record.logisticscompany,jdbcType=VARCHAR}, |
| | | logisticsno = #{record.logisticsno,jdbcType=VARCHAR}, |
| | | transportmode = #{record.transportmode,jdbcType=VARCHAR}, |
| | | boxcount = #{record.boxcount,jdbcType=INTEGER}, |
| | | boxweight = #{record.boxweight,jdbcType=DECIMAL}, |
| | | freight = #{record.freight,jdbcType=DECIMAL}, |
| | | commentcontent = #{record.commentcontent,jdbcType=VARCHAR}, |
| | | commentlevel = #{record.commentlevel,jdbcType=INTEGER}, |
| | | receiverid = #{record.receiverid,jdbcType=VARCHAR}, |
| | | vipuserId = #{record.vipuserid,jdbcType=VARCHAR}, |
| | | vipname = #{record.vipname,jdbcType=VARCHAR}, |
| | | vipphone = #{record.vipphone,jdbcType=VARCHAR}, |
| | | vipdiamondtype = #{record.vipdiamondtype,jdbcType=INTEGER}, |
| | | viptype = #{record.viptype,jdbcType=INTEGER}, |
| | | vippicture = #{record.vippicture,jdbcType=VARCHAR}, |
| | | vipcarddiscountrate = #{record.vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | type = #{record.type,jdbcType=INTEGER} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.OrderHistory"> |
| | | update order_history |
| | | <set> |
| | | <if test="no != null"> |
| | | no = #{no,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="totalmoney != null"> |
| | | totalmoney = #{totalmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | payedmoney = #{payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="paymentmethod != null"> |
| | | paymentmethod = #{paymentmethod,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="discountmoney != null"> |
| | | discountmoney = #{discountmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="ordertime != null"> |
| | | ordertime = #{ordertime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="paytime != null"> |
| | | paytime = #{paytime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="sendtime != null"> |
| | | sendtime = #{sendtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="receivetime != null"> |
| | | receivetime = #{receivetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="commenttime != null"> |
| | | commenttime = #{commenttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="completetime != null"> |
| | | completetime = #{completetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="sendername != null"> |
| | | sendername = #{sendername,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sendercode != null"> |
| | | sendercode = #{sendercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sendercontactno != null"> |
| | | sendercontactno = #{sendercontactno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="targetaddress != null"> |
| | | targetaddress = #{targetaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="deliveryaddress != null"> |
| | | deliveryaddress = #{deliveryaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="optimalcoupon != null"> |
| | | optimalcoupon = #{optimalcoupon,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="logisticscompany != null"> |
| | | logisticscompany = #{logisticscompany,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="logisticsno != null"> |
| | | logisticsno = #{logisticsno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="transportmode != null"> |
| | | transportmode = #{transportmode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="boxcount != null"> |
| | | boxcount = #{boxcount,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="boxweight != null"> |
| | | boxweight = #{boxweight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="freight != null"> |
| | | freight = #{freight,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="commentcontent != null"> |
| | | commentcontent = #{commentcontent,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="commentlevel != null"> |
| | | commentlevel = #{commentlevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="receiverid != null"> |
| | | receiverid = #{receiverid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipuserid != null"> |
| | | vipuserId = #{vipuserid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipname != null"> |
| | | vipname = #{vipname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipphone != null"> |
| | | vipphone = #{vipphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipdiamondtype != null"> |
| | | vipdiamondtype = #{vipdiamondtype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="viptype != null"> |
| | | viptype = #{viptype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="vippicture != null"> |
| | | vippicture = #{vippicture,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipcarddiscountrate != null"> |
| | | vipcarddiscountrate = #{vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="type != null"> |
| | | type = #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.OrderHistory"> |
| | | update order_history |
| | | set no = #{no,jdbcType=VARCHAR}, |
| | | totalmoney = #{totalmoney,jdbcType=DECIMAL}, |
| | | payedmoney = #{payedmoney,jdbcType=DECIMAL}, |
| | | paymentmethod = #{paymentmethod,jdbcType=INTEGER}, |
| | | discountmoney = #{discountmoney,jdbcType=DECIMAL}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | ordertime = #{ordertime,jdbcType=TIMESTAMP}, |
| | | paytime = #{paytime,jdbcType=TIMESTAMP}, |
| | | sendtime = #{sendtime,jdbcType=TIMESTAMP}, |
| | | receivetime = #{receivetime,jdbcType=TIMESTAMP}, |
| | | commenttime = #{commenttime,jdbcType=TIMESTAMP}, |
| | | completetime = #{completetime,jdbcType=TIMESTAMP}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | sendername = #{sendername,jdbcType=VARCHAR}, |
| | | sendercode = #{sendercode,jdbcType=VARCHAR}, |
| | | sendercontactno = #{sendercontactno,jdbcType=INTEGER}, |
| | | targetaddress = #{targetaddress,jdbcType=VARCHAR}, |
| | | deliveryaddress = #{deliveryaddress,jdbcType=VARCHAR}, |
| | | optimalcoupon = #{optimalcoupon,jdbcType=VARCHAR}, |
| | | logisticscompany = #{logisticscompany,jdbcType=VARCHAR}, |
| | | logisticsno = #{logisticsno,jdbcType=VARCHAR}, |
| | | transportmode = #{transportmode,jdbcType=VARCHAR}, |
| | | boxcount = #{boxcount,jdbcType=INTEGER}, |
| | | boxweight = #{boxweight,jdbcType=DECIMAL}, |
| | | freight = #{freight,jdbcType=DECIMAL}, |
| | | commentcontent = #{commentcontent,jdbcType=VARCHAR}, |
| | | commentlevel = #{commentlevel,jdbcType=INTEGER}, |
| | | receiverid = #{receiverid,jdbcType=VARCHAR}, |
| | | vipuserId = #{vipuserid,jdbcType=VARCHAR}, |
| | | vipname = #{vipname,jdbcType=VARCHAR}, |
| | | vipphone = #{vipphone,jdbcType=VARCHAR}, |
| | | vipdiamondtype = #{vipdiamondtype,jdbcType=INTEGER}, |
| | | viptype = #{viptype,jdbcType=INTEGER}, |
| | | vippicture = #{vippicture,jdbcType=VARCHAR}, |
| | | vipcarddiscountrate = #{vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | type = #{type,jdbcType=INTEGER} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <resultMap extends="BaseResultMap" id="OrderHistoryExtendResultMap" |
| | | type="com.farriver.bwf.data.master.entity.OrderHistoryExtend"> |
| | | <collection ofType="com.farriver.bwf.data.master.model.OrderHistoryProduct" property="products"> |
| | | <id column="p_id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="p_isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="p_remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="p_createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="p_updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="p_productid" jdbcType="VARCHAR" property="productid"/> |
| | | <result column="p_productcode" jdbcType="VARCHAR" property="productcode"/> |
| | | <result column="p_productname" jdbcType="VARCHAR" property="productname"/> |
| | | <result column="p_status" jdbcType="INTEGER" property="status"/> |
| | | <result column="p_color" jdbcType="VARCHAR" property="color"/> |
| | | <result column="p_size" jdbcType="VARCHAR" property="size"/> |
| | | <result column="p_count" jdbcType="INTEGER" property="count"/> |
| | | <result column="p_image" jdbcType="VARCHAR" property="image"/> |
| | | <result column="p_price" jdbcType="DECIMAL" property="price"/> |
| | | <result column="p_saleprice" jdbcType="DECIMAL" property="saleprice"/> |
| | | <result column="p_rejectreason" jdbcType="VARCHAR" property="rejectreason"/> |
| | | <result column="p_rejectcomment" jdbcType="VARCHAR" property="rejectcomment"/> |
| | | <result column="p_rejecttime" jdbcType="TIMESTAMP" property="rejecttime"/> |
| | | <result column="p_payer" jdbcType="VARCHAR" property="payer"/> |
| | | <result column="p_payedmoney" jdbcType="DECIMAL" property="payedmoney"/> |
| | | <result column="p_discount" jdbcType="DECIMAL" property="discount"/> |
| | | <result column="p_payee" jdbcType="VARCHAR" property="payee"/> |
| | | <result column="p_orderid" jdbcType="VARCHAR" property="orderid"/> |
| | | <result column="p_orderno" jdbcType="VARCHAR" property="orderno"/> |
| | | </collection> |
| | | </resultMap> |
| | | <select id="selectOrderHistoryExtendByExample" |
| | | parameterType="com.farriver.bwf.data.master.model.OrderHistoryExample" |
| | | resultMap="OrderHistoryExtendResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | o.*, |
| | | p.id AS p_id, |
| | | p.isdeleted AS p_isdeleted, |
| | | p.remark AS p_remark, |
| | | p.createtime AS p_createtime, |
| | | p.updatetime AS p_updatetime, |
| | | p.productid AS p_productid, |
| | | p.productcode AS p_productcode, |
| | | p.productname AS p_productname, |
| | | p.status AS p_status, |
| | | p.color AS p_color, |
| | | p.size AS p_size, |
| | | p.count AS p_count, |
| | | p.image AS p_image, |
| | | p.price AS p_price, |
| | | p.saleprice AS p_saleprice, |
| | | p.rejectreason AS p_rejectreason, |
| | | p.rejectcomment AS p_rejectcomment, |
| | | p.rejecttime AS p_rejecttime, |
| | | p.payer AS p_payer, |
| | | p.payedmoney AS p_payedmoney, |
| | | p.discount AS p_discount, |
| | | p.payee AS p_payee, |
| | | p.orderid AS p_orderid, |
| | | p.orderno AS p_orderno |
| | | FROM ( |
| | | SELECT * FROM order_history |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | ) o |
| | | LEFT JOIN order_history_product p ON o.id = p.orderid |
| | | </select> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.OrderHistoryProduct; |
| | | import com.farriver.bwf.data.master.model.OrderHistoryProductExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface OrderHistoryProductMapper { |
| | | long countByExample(OrderHistoryProductExample example); |
| | | |
| | | int deleteByExample(OrderHistoryProductExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(OrderHistoryProduct record); |
| | | |
| | | int insertSelective(OrderHistoryProduct record); |
| | | |
| | | List<OrderHistoryProduct> selectByExample(OrderHistoryProductExample example); |
| | | |
| | | OrderHistoryProduct selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") OrderHistoryProduct record, @Param("example") OrderHistoryProductExample example); |
| | | |
| | | int updateByExample(@Param("record") OrderHistoryProduct record, @Param("example") OrderHistoryProductExample example); |
| | | |
| | | int updateByPrimaryKeySelective(OrderHistoryProduct record); |
| | | |
| | | int updateByPrimaryKey(OrderHistoryProduct record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.OrderHistoryProductMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.OrderHistoryProduct"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="productid" jdbcType="VARCHAR" property="productid"/> |
| | | <result column="productcode" jdbcType="VARCHAR" property="productcode"/> |
| | | <result column="productname" jdbcType="VARCHAR" property="productname"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="color" jdbcType="VARCHAR" property="color"/> |
| | | <result column="size" jdbcType="VARCHAR" property="size"/> |
| | | <result column="count" jdbcType="INTEGER" property="count"/> |
| | | <result column="image" jdbcType="VARCHAR" property="image"/> |
| | | <result column="price" jdbcType="DECIMAL" property="price"/> |
| | | <result column="saleprice" jdbcType="DECIMAL" property="saleprice"/> |
| | | <result column="rejectreason" jdbcType="VARCHAR" property="rejectreason"/> |
| | | <result column="rejectcomment" jdbcType="VARCHAR" property="rejectcomment"/> |
| | | <result column="rejecttime" jdbcType="TIMESTAMP" property="rejecttime"/> |
| | | <result column="payer" jdbcType="VARCHAR" property="payer"/> |
| | | <result column="payedmoney" jdbcType="DECIMAL" property="payedmoney"/> |
| | | <result column="discount" jdbcType="DECIMAL" property="discount"/> |
| | | <result column="payee" jdbcType="VARCHAR" property="payee"/> |
| | | <result column="orderno" jdbcType="VARCHAR" property="orderno"/> |
| | | <result column="orderid" jdbcType="VARCHAR" property="orderid"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , isdeleted, remark, createtime, updatetime, productid, productcode, productname, |
| | | status, color, size, count, image, price, saleprice, rejectreason, rejectcomment, |
| | | rejecttime, payer, payedmoney, discount, payee, orderno, orderid |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.OrderHistoryProductExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from order_history_product |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from order_history_product |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from order_history_product |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.OrderHistoryProductExample"> |
| | | delete from order_history_product |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.OrderHistoryProduct"> |
| | | insert into order_history_product (id, isdeleted, remark, |
| | | createtime, updatetime, productid, |
| | | productcode, productname, status, |
| | | color, size, count, |
| | | image, price, saleprice, |
| | | rejectreason, rejectcomment, rejecttime, |
| | | payer, payedmoney, discount, |
| | | payee, orderno, orderid) |
| | | values (#{id,jdbcType=VARCHAR}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{productid,jdbcType=VARCHAR}, |
| | | #{productcode,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, |
| | | #{color,jdbcType=VARCHAR}, #{size,jdbcType=VARCHAR}, #{count,jdbcType=INTEGER}, |
| | | #{image,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, #{saleprice,jdbcType=DECIMAL}, |
| | | #{rejectreason,jdbcType=VARCHAR}, #{rejectcomment,jdbcType=VARCHAR}, #{rejecttime,jdbcType=TIMESTAMP}, |
| | | #{payer,jdbcType=VARCHAR}, #{payedmoney,jdbcType=DECIMAL}, #{discount,jdbcType=DECIMAL}, |
| | | #{payee,jdbcType=VARCHAR}, #{orderno,jdbcType=VARCHAR}, #{orderid,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.OrderHistoryProduct"> |
| | | insert into order_history_product |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="productid != null"> |
| | | productid, |
| | | </if> |
| | | <if test="productcode != null"> |
| | | productcode, |
| | | </if> |
| | | <if test="productname != null"> |
| | | productname, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="color != null"> |
| | | color, |
| | | </if> |
| | | <if test="size != null"> |
| | | size, |
| | | </if> |
| | | <if test="count != null"> |
| | | count, |
| | | </if> |
| | | <if test="image != null"> |
| | | image, |
| | | </if> |
| | | <if test="price != null"> |
| | | price, |
| | | </if> |
| | | <if test="saleprice != null"> |
| | | saleprice, |
| | | </if> |
| | | <if test="rejectreason != null"> |
| | | rejectreason, |
| | | </if> |
| | | <if test="rejectcomment != null"> |
| | | rejectcomment, |
| | | </if> |
| | | <if test="rejecttime != null"> |
| | | rejecttime, |
| | | </if> |
| | | <if test="payer != null"> |
| | | payer, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | payedmoney, |
| | | </if> |
| | | <if test="discount != null"> |
| | | discount, |
| | | </if> |
| | | <if test="payee != null"> |
| | | payee, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | orderno, |
| | | </if> |
| | | <if test="orderid != null"> |
| | | orderid, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="productid != null"> |
| | | #{productid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productcode != null"> |
| | | #{productcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productname != null"> |
| | | #{productname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="color != null"> |
| | | #{color,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="size != null"> |
| | | #{size,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="count != null"> |
| | | #{count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="image != null"> |
| | | #{image,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="price != null"> |
| | | #{price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="saleprice != null"> |
| | | #{saleprice,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="rejectreason != null"> |
| | | #{rejectreason,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="rejectcomment != null"> |
| | | #{rejectcomment,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="rejecttime != null"> |
| | | #{rejecttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="payer != null"> |
| | | #{payer,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | #{payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discount != null"> |
| | | #{discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="payee != null"> |
| | | #{payee,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | #{orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="orderid != null"> |
| | | #{orderid,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.OrderHistoryProductExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from order_history_product |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update order_history_product |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.productid != null"> |
| | | productid = #{record.productid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.productcode != null"> |
| | | productcode = #{record.productcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.productname != null"> |
| | | productname = #{record.productname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.color != null"> |
| | | color = #{record.color,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.size != null"> |
| | | size = #{record.size,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.count != null"> |
| | | count = #{record.count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.image != null"> |
| | | image = #{record.image,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.price != null"> |
| | | price = #{record.price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.saleprice != null"> |
| | | saleprice = #{record.saleprice,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.rejectreason != null"> |
| | | rejectreason = #{record.rejectreason,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.rejectcomment != null"> |
| | | rejectcomment = #{record.rejectcomment,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.rejecttime != null"> |
| | | rejecttime = #{record.rejecttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.payer != null"> |
| | | payer = #{record.payer,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.payedmoney != null"> |
| | | payedmoney = #{record.payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.discount != null"> |
| | | discount = #{record.discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.payee != null"> |
| | | payee = #{record.payee,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.orderno != null"> |
| | | orderno = #{record.orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.orderid != null"> |
| | | orderid = #{record.orderid,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update order_history_product |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | productid = #{record.productid,jdbcType=VARCHAR}, |
| | | productcode = #{record.productcode,jdbcType=VARCHAR}, |
| | | productname = #{record.productname,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | color = #{record.color,jdbcType=VARCHAR}, |
| | | size = #{record.size,jdbcType=VARCHAR}, |
| | | count = #{record.count,jdbcType=INTEGER}, |
| | | image = #{record.image,jdbcType=VARCHAR}, |
| | | price = #{record.price,jdbcType=DECIMAL}, |
| | | saleprice = #{record.saleprice,jdbcType=DECIMAL}, |
| | | rejectreason = #{record.rejectreason,jdbcType=VARCHAR}, |
| | | rejectcomment = #{record.rejectcomment,jdbcType=VARCHAR}, |
| | | rejecttime = #{record.rejecttime,jdbcType=TIMESTAMP}, |
| | | payer = #{record.payer,jdbcType=VARCHAR}, |
| | | payedmoney = #{record.payedmoney,jdbcType=DECIMAL}, |
| | | discount = #{record.discount,jdbcType=DECIMAL}, |
| | | payee = #{record.payee,jdbcType=VARCHAR}, |
| | | orderno = #{record.orderno,jdbcType=VARCHAR}, |
| | | orderid = #{record.orderid,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" |
| | | parameterType="com.farriver.bwf.data.master.model.OrderHistoryProduct"> |
| | | update order_history_product |
| | | <set> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="productid != null"> |
| | | productid = #{productid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productcode != null"> |
| | | productcode = #{productcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productname != null"> |
| | | productname = #{productname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="color != null"> |
| | | color = #{color,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="size != null"> |
| | | size = #{size,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="count != null"> |
| | | count = #{count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="image != null"> |
| | | image = #{image,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="price != null"> |
| | | price = #{price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="saleprice != null"> |
| | | saleprice = #{saleprice,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="rejectreason != null"> |
| | | rejectreason = #{rejectreason,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="rejectcomment != null"> |
| | | rejectcomment = #{rejectcomment,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="rejecttime != null"> |
| | | rejecttime = #{rejecttime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="payer != null"> |
| | | payer = #{payer,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="payedmoney != null"> |
| | | payedmoney = #{payedmoney,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discount != null"> |
| | | discount = #{discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="payee != null"> |
| | | payee = #{payee,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | orderno = #{orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="orderid != null"> |
| | | orderid = #{orderid,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.OrderHistoryProduct"> |
| | | update order_history_product |
| | | set isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | productid = #{productid,jdbcType=VARCHAR}, |
| | | productcode = #{productcode,jdbcType=VARCHAR}, |
| | | productname = #{productname,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | color = #{color,jdbcType=VARCHAR}, |
| | | size = #{size,jdbcType=VARCHAR}, |
| | | count = #{count,jdbcType=INTEGER}, |
| | | image = #{image,jdbcType=VARCHAR}, |
| | | price = #{price,jdbcType=DECIMAL}, |
| | | saleprice = #{saleprice,jdbcType=DECIMAL}, |
| | | rejectreason = #{rejectreason,jdbcType=VARCHAR}, |
| | | rejectcomment = #{rejectcomment,jdbcType=VARCHAR}, |
| | | rejecttime = #{rejecttime,jdbcType=TIMESTAMP}, |
| | | payer = #{payer,jdbcType=VARCHAR}, |
| | | payedmoney = #{payedmoney,jdbcType=DECIMAL}, |
| | | discount = #{discount,jdbcType=DECIMAL}, |
| | | payee = #{payee,jdbcType=VARCHAR}, |
| | | orderno = #{orderno,jdbcType=VARCHAR}, |
| | | orderid = #{orderid,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.OrderReceiver; |
| | | import com.farriver.bwf.data.master.model.OrderReceiverExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface OrderReceiverMapper { |
| | | long countByExample(OrderReceiverExample example); |
| | | |
| | | int deleteByExample(OrderReceiverExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(OrderReceiver record); |
| | | |
| | | int insertSelective(OrderReceiver record); |
| | | |
| | | List<OrderReceiver> selectByExample(OrderReceiverExample example); |
| | | |
| | | OrderReceiver selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") OrderReceiver record, @Param("example") OrderReceiverExample example); |
| | | |
| | | int updateByExample(@Param("record") OrderReceiver record, @Param("example") OrderReceiverExample example); |
| | | |
| | | int updateByPrimaryKeySelective(OrderReceiver record); |
| | | |
| | | int updateByPrimaryKey(OrderReceiver record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.OrderReceiverMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.OrderReceiver"> |
| | | <id column="id" jdbcType="VARCHAR" property="id" /> |
| | | <result column="userid" jdbcType="VARCHAR" property="userid" /> |
| | | <result column="code" jdbcType="VARCHAR" property="code" /> |
| | | <result column="name" jdbcType="VARCHAR" property="name" /> |
| | | <result column="contactno" jdbcType="VARCHAR" property="contactno" /> |
| | | <result column="country" jdbcType="VARCHAR" property="country" /> |
| | | <result column="province" jdbcType="VARCHAR" property="province" /> |
| | | <result column="city" jdbcType="VARCHAR" property="city" /> |
| | | <result column="region" jdbcType="VARCHAR" property="region" /> |
| | | <result column="receiveaddress" jdbcType="VARCHAR" property="receiveaddress" /> |
| | | <result column="isoftenused" jdbcType="VARCHAR" property="isoftenused" /> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted" /> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" /> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, userid, code, name, contactno, country, province, city, region, receiveaddress, |
| | | isoftenused, isdeleted, updatetime, createtime, remark |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.OrderReceiverExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | from order_receiver |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from order_receiver |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from order_receiver |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.OrderReceiverExample"> |
| | | delete from order_receiver |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.OrderReceiver"> |
| | | insert into order_receiver (id, userid, code, |
| | | name, contactno, country, |
| | | province, city, region, |
| | | receiveaddress, isoftenused, isdeleted, |
| | | updatetime, createtime, remark |
| | | ) |
| | | values (#{id,jdbcType=VARCHAR}, #{userid,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, |
| | | #{name,jdbcType=VARCHAR}, #{contactno,jdbcType=VARCHAR}, #{country,jdbcType=VARCHAR}, |
| | | #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, |
| | | #{receiveaddress,jdbcType=VARCHAR}, #{isoftenused,jdbcType=VARCHAR}, #{isdeleted,jdbcType=BIT}, |
| | | #{updatetime,jdbcType=TIMESTAMP}, #{createtime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.OrderReceiver"> |
| | | insert into order_receiver |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="userid != null"> |
| | | userid, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="contactno != null"> |
| | | contactno, |
| | | </if> |
| | | <if test="country != null"> |
| | | country, |
| | | </if> |
| | | <if test="province != null"> |
| | | province, |
| | | </if> |
| | | <if test="city != null"> |
| | | city, |
| | | </if> |
| | | <if test="region != null"> |
| | | region, |
| | | </if> |
| | | <if test="receiveaddress != null"> |
| | | receiveaddress, |
| | | </if> |
| | | <if test="isoftenused != null"> |
| | | isoftenused, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="userid != null"> |
| | | #{userid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="contactno != null"> |
| | | #{contactno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="country != null"> |
| | | #{country,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="province != null"> |
| | | #{province,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="city != null"> |
| | | #{city,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="region != null"> |
| | | #{region,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="receiveaddress != null"> |
| | | #{receiveaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isoftenused != null"> |
| | | #{isoftenused,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.OrderReceiverExample" resultType="java.lang.Long"> |
| | | select count(*) from order_receiver |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update order_receiver |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.userid != null"> |
| | | userid = #{record.userid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.contactno != null"> |
| | | contactno = #{record.contactno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.country != null"> |
| | | country = #{record.country,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.province != null"> |
| | | province = #{record.province,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.city != null"> |
| | | city = #{record.city,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.region != null"> |
| | | region = #{record.region,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.receiveaddress != null"> |
| | | receiveaddress = #{record.receiveaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isoftenused != null"> |
| | | isoftenused = #{record.isoftenused,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update order_receiver |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | userid = #{record.userid,jdbcType=VARCHAR}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | contactno = #{record.contactno,jdbcType=VARCHAR}, |
| | | country = #{record.country,jdbcType=VARCHAR}, |
| | | province = #{record.province,jdbcType=VARCHAR}, |
| | | city = #{record.city,jdbcType=VARCHAR}, |
| | | region = #{record.region,jdbcType=VARCHAR}, |
| | | receiveaddress = #{record.receiveaddress,jdbcType=VARCHAR}, |
| | | isoftenused = #{record.isoftenused,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | remark = #{record.remark,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.OrderReceiver"> |
| | | update order_receiver |
| | | <set> |
| | | <if test="userid != null"> |
| | | userid = #{userid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="contactno != null"> |
| | | contactno = #{contactno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="country != null"> |
| | | country = #{country,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="province != null"> |
| | | province = #{province,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="city != null"> |
| | | city = #{city,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="region != null"> |
| | | region = #{region,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="receiveaddress != null"> |
| | | receiveaddress = #{receiveaddress,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isoftenused != null"> |
| | | isoftenused = #{isoftenused,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.OrderReceiver"> |
| | | update order_receiver |
| | | set userid = #{userid,jdbcType=VARCHAR}, |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | contactno = #{contactno,jdbcType=VARCHAR}, |
| | | country = #{country,jdbcType=VARCHAR}, |
| | | province = #{province,jdbcType=VARCHAR}, |
| | | city = #{city,jdbcType=VARCHAR}, |
| | | region = #{region,jdbcType=VARCHAR}, |
| | | receiveaddress = #{receiveaddress,jdbcType=VARCHAR}, |
| | | isoftenused = #{isoftenused,jdbcType=VARCHAR}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | remark = #{remark,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.OrganizationClass; |
| | | import com.farriver.bwf.data.master.model.OrganizationClassExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface OrganizationClassMapper { |
| | | long countByExample(OrganizationClassExample example); |
| | | |
| | | int deleteByExample(OrganizationClassExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(OrganizationClass record); |
| | | |
| | | int insertSelective(OrganizationClass record); |
| | | |
| | | List<OrganizationClass> selectByExample(OrganizationClassExample example); |
| | | |
| | | OrganizationClass selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") OrganizationClass record, @Param("example") OrganizationClassExample example); |
| | | |
| | | int updateByExample(@Param("record") OrganizationClass record, @Param("example") OrganizationClassExample example); |
| | | |
| | | int updateByPrimaryKeySelective(OrganizationClass record); |
| | | |
| | | int updateByPrimaryKey(OrganizationClass record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.OrganizationClassMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.OrganizationClass"> |
| | | <id column="id" jdbcType="VARCHAR" property="id" /> |
| | | <result column="code" jdbcType="VARCHAR" property="code" /> |
| | | <result column="name" jdbcType="VARCHAR" property="name" /> |
| | | <result column="outerphone" jdbcType="VARCHAR" property="outerphone" /> |
| | | <result column="innerphone" jdbcType="VARCHAR" property="innerphone" /> |
| | | <result column="supervisor" jdbcType="VARCHAR" property="supervisor" /> |
| | | <result column="supervisorassistant" jdbcType="VARCHAR" property="supervisorassistant" /> |
| | | <result column="fax" jdbcType="VARCHAR" property="fax" /> |
| | | <result column="zipcode" jdbcType="VARCHAR" property="zipcode" /> |
| | | <result column="address" jdbcType="VARCHAR" property="address" /> |
| | | <result column="parentid" jdbcType="VARCHAR" property="parentid" /> |
| | | <result column="status" jdbcType="INTEGER" property="status" /> |
| | | <result column="deplevel" jdbcType="INTEGER" property="deplevel" /> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime" /> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" /> |
| | | <result column="organizationid" jdbcType="VARCHAR" property="organizationid" /> |
| | | <result column="organizationname" jdbcType="VARCHAR" property="organizationname" /> |
| | | <result column="organizationcode" jdbcType="VARCHAR" property="organizationcode" /> |
| | | <result column="departmentid" jdbcType="VARCHAR" property="departmentid" /> |
| | | <result column="departmentname" jdbcType="VARCHAR" property="departmentname" /> |
| | | <result column="departmentcode" jdbcType="VARCHAR" property="departmentcode" /> |
| | | <result column="majorid" jdbcType="VARCHAR" property="majorid" /> |
| | | <result column="majorname" jdbcType="VARCHAR" property="majorname" /> |
| | | <result column="majorcode" jdbcType="VARCHAR" property="majorcode" /> |
| | | <result column="gradeid" jdbcType="VARCHAR" property="gradeid" /> |
| | | <result column="gradename" jdbcType="VARCHAR" property="gradename" /> |
| | | <result column="gradecode" jdbcType="VARCHAR" property="gradecode" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, code, name, outerphone, innerphone, supervisor, supervisorassistant, fax, zipcode, |
| | | address, parentid, status, deplevel, isdeleted, remark, createtime, updatetime, organizationid, |
| | | organizationname, organizationcode, departmentid, departmentname, departmentcode, |
| | | majorid, majorname, majorcode, gradeid, gradename, gradecode |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationClassExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | from organization_class |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from organization_class |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from organization_class |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationClassExample"> |
| | | delete from organization_class |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.OrganizationClass"> |
| | | insert into organization_class (id, code, name, |
| | | outerphone, innerphone, supervisor, |
| | | supervisorassistant, fax, zipcode, |
| | | address, parentid, status, |
| | | deplevel, isdeleted, remark, |
| | | createtime, updatetime, organizationid, |
| | | organizationname, organizationcode, departmentid, |
| | | departmentname, departmentcode, majorid, |
| | | majorname, majorcode, gradeid, |
| | | gradename, gradecode) |
| | | values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
| | | #{outerphone,jdbcType=VARCHAR}, #{innerphone,jdbcType=VARCHAR}, #{supervisor,jdbcType=VARCHAR}, |
| | | #{supervisorassistant,jdbcType=VARCHAR}, #{fax,jdbcType=VARCHAR}, #{zipcode,jdbcType=VARCHAR}, |
| | | #{address,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, |
| | | #{deplevel,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{organizationid,jdbcType=VARCHAR}, |
| | | #{organizationname,jdbcType=VARCHAR}, #{organizationcode,jdbcType=VARCHAR}, #{departmentid,jdbcType=VARCHAR}, |
| | | #{departmentname,jdbcType=VARCHAR}, #{departmentcode,jdbcType=VARCHAR}, #{majorid,jdbcType=VARCHAR}, |
| | | #{majorname,jdbcType=VARCHAR}, #{majorcode,jdbcType=VARCHAR}, #{gradeid,jdbcType=VARCHAR}, |
| | | #{gradename,jdbcType=VARCHAR}, #{gradecode,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.OrganizationClass"> |
| | | insert into organization_class |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | outerphone, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | innerphone, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | supervisor, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | supervisorassistant, |
| | | </if> |
| | | <if test="fax != null"> |
| | | fax, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | zipcode, |
| | | </if> |
| | | <if test="address != null"> |
| | | address, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | deplevel, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | organizationid, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | organizationname, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | organizationcode, |
| | | </if> |
| | | <if test="departmentid != null"> |
| | | departmentid, |
| | | </if> |
| | | <if test="departmentname != null"> |
| | | departmentname, |
| | | </if> |
| | | <if test="departmentcode != null"> |
| | | departmentcode, |
| | | </if> |
| | | <if test="majorid != null"> |
| | | majorid, |
| | | </if> |
| | | <if test="majorname != null"> |
| | | majorname, |
| | | </if> |
| | | <if test="majorcode != null"> |
| | | majorcode, |
| | | </if> |
| | | <if test="gradeid != null"> |
| | | gradeid, |
| | | </if> |
| | | <if test="gradename != null"> |
| | | gradename, |
| | | </if> |
| | | <if test="gradecode != null"> |
| | | gradecode, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | #{outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | #{innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | #{supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | #{supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="fax != null"> |
| | | #{fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | #{zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="address != null"> |
| | | #{address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | #{deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | #{organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | #{organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | #{organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentid != null"> |
| | | #{departmentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentname != null"> |
| | | #{departmentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentcode != null"> |
| | | #{departmentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorid != null"> |
| | | #{majorid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorname != null"> |
| | | #{majorname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorcode != null"> |
| | | #{majorcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="gradeid != null"> |
| | | #{gradeid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="gradename != null"> |
| | | #{gradename,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="gradecode != null"> |
| | | #{gradecode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationClassExample" resultType="java.lang.Long"> |
| | | select count(*) from organization_class |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update organization_class |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.outerphone != null"> |
| | | outerphone = #{record.outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.innerphone != null"> |
| | | innerphone = #{record.innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.supervisor != null"> |
| | | supervisor = #{record.supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.supervisorassistant != null"> |
| | | supervisorassistant = #{record.supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.fax != null"> |
| | | fax = #{record.fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.zipcode != null"> |
| | | zipcode = #{record.zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.address != null"> |
| | | address = #{record.address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentid != null"> |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.deplevel != null"> |
| | | deplevel = #{record.deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.organizationid != null"> |
| | | organizationid = #{record.organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.organizationname != null"> |
| | | organizationname = #{record.organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.organizationcode != null"> |
| | | organizationcode = #{record.organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.departmentid != null"> |
| | | departmentid = #{record.departmentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.departmentname != null"> |
| | | departmentname = #{record.departmentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.departmentcode != null"> |
| | | departmentcode = #{record.departmentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.majorid != null"> |
| | | majorid = #{record.majorid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.majorname != null"> |
| | | majorname = #{record.majorname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.majorcode != null"> |
| | | majorcode = #{record.majorcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.gradeid != null"> |
| | | gradeid = #{record.gradeid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.gradename != null"> |
| | | gradename = #{record.gradename,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.gradecode != null"> |
| | | gradecode = #{record.gradecode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update organization_class |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | outerphone = #{record.outerphone,jdbcType=VARCHAR}, |
| | | innerphone = #{record.innerphone,jdbcType=VARCHAR}, |
| | | supervisor = #{record.supervisor,jdbcType=VARCHAR}, |
| | | supervisorassistant = #{record.supervisorassistant,jdbcType=VARCHAR}, |
| | | fax = #{record.fax,jdbcType=VARCHAR}, |
| | | zipcode = #{record.zipcode,jdbcType=VARCHAR}, |
| | | address = #{record.address,jdbcType=VARCHAR}, |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | deplevel = #{record.deplevel,jdbcType=INTEGER}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | organizationid = #{record.organizationid,jdbcType=VARCHAR}, |
| | | organizationname = #{record.organizationname,jdbcType=VARCHAR}, |
| | | organizationcode = #{record.organizationcode,jdbcType=VARCHAR}, |
| | | departmentid = #{record.departmentid,jdbcType=VARCHAR}, |
| | | departmentname = #{record.departmentname,jdbcType=VARCHAR}, |
| | | departmentcode = #{record.departmentcode,jdbcType=VARCHAR}, |
| | | majorid = #{record.majorid,jdbcType=VARCHAR}, |
| | | majorname = #{record.majorname,jdbcType=VARCHAR}, |
| | | majorcode = #{record.majorcode,jdbcType=VARCHAR}, |
| | | gradeid = #{record.gradeid,jdbcType=VARCHAR}, |
| | | gradename = #{record.gradename,jdbcType=VARCHAR}, |
| | | gradecode = #{record.gradecode,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.OrganizationClass"> |
| | | update organization_class |
| | | <set> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | outerphone = #{outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | innerphone = #{innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | supervisor = #{supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | supervisorassistant = #{supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="fax != null"> |
| | | fax = #{fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | zipcode = #{zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="address != null"> |
| | | address = #{address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | deplevel = #{deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | organizationid = #{organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | organizationname = #{organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | organizationcode = #{organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentid != null"> |
| | | departmentid = #{departmentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentname != null"> |
| | | departmentname = #{departmentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentcode != null"> |
| | | departmentcode = #{departmentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorid != null"> |
| | | majorid = #{majorid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorname != null"> |
| | | majorname = #{majorname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorcode != null"> |
| | | majorcode = #{majorcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="gradeid != null"> |
| | | gradeid = #{gradeid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="gradename != null"> |
| | | gradename = #{gradename,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="gradecode != null"> |
| | | gradecode = #{gradecode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.OrganizationClass"> |
| | | update organization_class |
| | | set code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | outerphone = #{outerphone,jdbcType=VARCHAR}, |
| | | innerphone = #{innerphone,jdbcType=VARCHAR}, |
| | | supervisor = #{supervisor,jdbcType=VARCHAR}, |
| | | supervisorassistant = #{supervisorassistant,jdbcType=VARCHAR}, |
| | | fax = #{fax,jdbcType=VARCHAR}, |
| | | zipcode = #{zipcode,jdbcType=VARCHAR}, |
| | | address = #{address,jdbcType=VARCHAR}, |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | deplevel = #{deplevel,jdbcType=INTEGER}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | organizationid = #{organizationid,jdbcType=VARCHAR}, |
| | | organizationname = #{organizationname,jdbcType=VARCHAR}, |
| | | organizationcode = #{organizationcode,jdbcType=VARCHAR}, |
| | | departmentid = #{departmentid,jdbcType=VARCHAR}, |
| | | departmentname = #{departmentname,jdbcType=VARCHAR}, |
| | | departmentcode = #{departmentcode,jdbcType=VARCHAR}, |
| | | majorid = #{majorid,jdbcType=VARCHAR}, |
| | | majorname = #{majorname,jdbcType=VARCHAR}, |
| | | majorcode = #{majorcode,jdbcType=VARCHAR}, |
| | | gradeid = #{gradeid,jdbcType=VARCHAR}, |
| | | gradename = #{gradename,jdbcType=VARCHAR}, |
| | | gradecode = #{gradecode,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.OrganizationDepartment; |
| | | import com.farriver.bwf.data.master.model.OrganizationDepartmentExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface OrganizationDepartmentMapper { |
| | | long countByExample(OrganizationDepartmentExample example); |
| | | |
| | | int deleteByExample(OrganizationDepartmentExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(OrganizationDepartment record); |
| | | |
| | | int insertSelective(OrganizationDepartment record); |
| | | |
| | | List<OrganizationDepartment> selectByExample(OrganizationDepartmentExample example); |
| | | |
| | | OrganizationDepartment selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") OrganizationDepartment record, @Param("example") OrganizationDepartmentExample example); |
| | | |
| | | int updateByExample(@Param("record") OrganizationDepartment record, @Param("example") OrganizationDepartmentExample example); |
| | | |
| | | int updateByPrimaryKeySelective(OrganizationDepartment record); |
| | | |
| | | int updateByPrimaryKey(OrganizationDepartment record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.OrganizationDepartmentMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.OrganizationDepartment"> |
| | | <id column="id" jdbcType="VARCHAR" property="id" /> |
| | | <result column="code" jdbcType="VARCHAR" property="code" /> |
| | | <result column="name" jdbcType="VARCHAR" property="name" /> |
| | | <result column="outerphone" jdbcType="VARCHAR" property="outerphone" /> |
| | | <result column="innerphone" jdbcType="VARCHAR" property="innerphone" /> |
| | | <result column="supervisor" jdbcType="VARCHAR" property="supervisor" /> |
| | | <result column="supervisorassistant" jdbcType="VARCHAR" property="supervisorassistant" /> |
| | | <result column="fax" jdbcType="VARCHAR" property="fax" /> |
| | | <result column="zipcode" jdbcType="VARCHAR" property="zipcode" /> |
| | | <result column="address" jdbcType="VARCHAR" property="address" /> |
| | | <result column="parentid" jdbcType="VARCHAR" property="parentid" /> |
| | | <result column="status" jdbcType="INTEGER" property="status" /> |
| | | <result column="deplevel" jdbcType="INTEGER" property="deplevel" /> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime" /> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" /> |
| | | <result column="organizationid" jdbcType="VARCHAR" property="organizationid" /> |
| | | <result column="organizationname" jdbcType="VARCHAR" property="organizationname" /> |
| | | <result column="organizationcode" jdbcType="VARCHAR" property="organizationcode" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, code, name, outerphone, innerphone, supervisor, supervisorassistant, fax, zipcode, |
| | | address, parentid, status, deplevel, isdeleted, remark, createtime, updatetime, organizationid, |
| | | organizationname, organizationcode |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationDepartmentExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | from organization_department |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from organization_department |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from organization_department |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationDepartmentExample"> |
| | | delete from organization_department |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.OrganizationDepartment"> |
| | | insert into organization_department (id, code, name, |
| | | outerphone, innerphone, supervisor, |
| | | supervisorassistant, fax, zipcode, |
| | | address, parentid, status, |
| | | deplevel, isdeleted, remark, |
| | | createtime, updatetime, organizationid, |
| | | organizationname, organizationcode) |
| | | values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
| | | #{outerphone,jdbcType=VARCHAR}, #{innerphone,jdbcType=VARCHAR}, #{supervisor,jdbcType=VARCHAR}, |
| | | #{supervisorassistant,jdbcType=VARCHAR}, #{fax,jdbcType=VARCHAR}, #{zipcode,jdbcType=VARCHAR}, |
| | | #{address,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, |
| | | #{deplevel,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{organizationid,jdbcType=VARCHAR}, |
| | | #{organizationname,jdbcType=VARCHAR}, #{organizationcode,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.OrganizationDepartment"> |
| | | insert into organization_department |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | outerphone, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | innerphone, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | supervisor, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | supervisorassistant, |
| | | </if> |
| | | <if test="fax != null"> |
| | | fax, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | zipcode, |
| | | </if> |
| | | <if test="address != null"> |
| | | address, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | deplevel, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | organizationid, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | organizationname, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | organizationcode, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | #{outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | #{innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | #{supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | #{supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="fax != null"> |
| | | #{fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | #{zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="address != null"> |
| | | #{address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | #{deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | #{organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | #{organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | #{organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationDepartmentExample" resultType="java.lang.Long"> |
| | | select count(*) from organization_department |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update organization_department |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.outerphone != null"> |
| | | outerphone = #{record.outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.innerphone != null"> |
| | | innerphone = #{record.innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.supervisor != null"> |
| | | supervisor = #{record.supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.supervisorassistant != null"> |
| | | supervisorassistant = #{record.supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.fax != null"> |
| | | fax = #{record.fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.zipcode != null"> |
| | | zipcode = #{record.zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.address != null"> |
| | | address = #{record.address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentid != null"> |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.deplevel != null"> |
| | | deplevel = #{record.deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.organizationid != null"> |
| | | organizationid = #{record.organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.organizationname != null"> |
| | | organizationname = #{record.organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.organizationcode != null"> |
| | | organizationcode = #{record.organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update organization_department |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | outerphone = #{record.outerphone,jdbcType=VARCHAR}, |
| | | innerphone = #{record.innerphone,jdbcType=VARCHAR}, |
| | | supervisor = #{record.supervisor,jdbcType=VARCHAR}, |
| | | supervisorassistant = #{record.supervisorassistant,jdbcType=VARCHAR}, |
| | | fax = #{record.fax,jdbcType=VARCHAR}, |
| | | zipcode = #{record.zipcode,jdbcType=VARCHAR}, |
| | | address = #{record.address,jdbcType=VARCHAR}, |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | deplevel = #{record.deplevel,jdbcType=INTEGER}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | organizationid = #{record.organizationid,jdbcType=VARCHAR}, |
| | | organizationname = #{record.organizationname,jdbcType=VARCHAR}, |
| | | organizationcode = #{record.organizationcode,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.OrganizationDepartment"> |
| | | update organization_department |
| | | <set> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | outerphone = #{outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | innerphone = #{innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | supervisor = #{supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | supervisorassistant = #{supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="fax != null"> |
| | | fax = #{fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | zipcode = #{zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="address != null"> |
| | | address = #{address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | deplevel = #{deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | organizationid = #{organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | organizationname = #{organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | organizationcode = #{organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.OrganizationDepartment"> |
| | | update organization_department |
| | | set code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | outerphone = #{outerphone,jdbcType=VARCHAR}, |
| | | innerphone = #{innerphone,jdbcType=VARCHAR}, |
| | | supervisor = #{supervisor,jdbcType=VARCHAR}, |
| | | supervisorassistant = #{supervisorassistant,jdbcType=VARCHAR}, |
| | | fax = #{fax,jdbcType=VARCHAR}, |
| | | zipcode = #{zipcode,jdbcType=VARCHAR}, |
| | | address = #{address,jdbcType=VARCHAR}, |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | deplevel = #{deplevel,jdbcType=INTEGER}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | organizationid = #{organizationid,jdbcType=VARCHAR}, |
| | | organizationname = #{organizationname,jdbcType=VARCHAR}, |
| | | organizationcode = #{organizationcode,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.OrganizationGrade; |
| | | import com.farriver.bwf.data.master.model.OrganizationGradeExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface OrganizationGradeMapper { |
| | | long countByExample(OrganizationGradeExample example); |
| | | |
| | | int deleteByExample(OrganizationGradeExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(OrganizationGrade record); |
| | | |
| | | int insertSelective(OrganizationGrade record); |
| | | |
| | | List<OrganizationGrade> selectByExample(OrganizationGradeExample example); |
| | | |
| | | OrganizationGrade selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") OrganizationGrade record, @Param("example") OrganizationGradeExample example); |
| | | |
| | | int updateByExample(@Param("record") OrganizationGrade record, @Param("example") OrganizationGradeExample example); |
| | | |
| | | int updateByPrimaryKeySelective(OrganizationGrade record); |
| | | |
| | | int updateByPrimaryKey(OrganizationGrade record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.OrganizationGradeMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.OrganizationGrade"> |
| | | <id column="id" jdbcType="VARCHAR" property="id" /> |
| | | <result column="code" jdbcType="VARCHAR" property="code" /> |
| | | <result column="name" jdbcType="VARCHAR" property="name" /> |
| | | <result column="outerphone" jdbcType="VARCHAR" property="outerphone" /> |
| | | <result column="innerphone" jdbcType="VARCHAR" property="innerphone" /> |
| | | <result column="supervisor" jdbcType="VARCHAR" property="supervisor" /> |
| | | <result column="supervisorassistant" jdbcType="VARCHAR" property="supervisorassistant" /> |
| | | <result column="fax" jdbcType="VARCHAR" property="fax" /> |
| | | <result column="zipcode" jdbcType="VARCHAR" property="zipcode" /> |
| | | <result column="address" jdbcType="VARCHAR" property="address" /> |
| | | <result column="parentid" jdbcType="VARCHAR" property="parentid" /> |
| | | <result column="status" jdbcType="INTEGER" property="status" /> |
| | | <result column="deplevel" jdbcType="INTEGER" property="deplevel" /> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime" /> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" /> |
| | | <result column="organizationid" jdbcType="VARCHAR" property="organizationid" /> |
| | | <result column="organizationname" jdbcType="VARCHAR" property="organizationname" /> |
| | | <result column="organizationcode" jdbcType="VARCHAR" property="organizationcode" /> |
| | | <result column="departmentid" jdbcType="VARCHAR" property="departmentid" /> |
| | | <result column="departmentname" jdbcType="VARCHAR" property="departmentname" /> |
| | | <result column="departmentcode" jdbcType="VARCHAR" property="departmentcode" /> |
| | | <result column="majorid" jdbcType="VARCHAR" property="majorid" /> |
| | | <result column="majorname" jdbcType="VARCHAR" property="majorname" /> |
| | | <result column="majorcode" jdbcType="VARCHAR" property="majorcode" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, code, name, outerphone, innerphone, supervisor, supervisorassistant, fax, zipcode, |
| | | address, parentid, status, deplevel, isdeleted, remark, createtime, updatetime, organizationid, |
| | | organizationname, organizationcode, departmentid, departmentname, departmentcode, |
| | | majorid, majorname, majorcode |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationGradeExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | from organization_grade |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from organization_grade |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from organization_grade |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationGradeExample"> |
| | | delete from organization_grade |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.OrganizationGrade"> |
| | | insert into organization_grade (id, code, name, |
| | | outerphone, innerphone, supervisor, |
| | | supervisorassistant, fax, zipcode, |
| | | address, parentid, status, |
| | | deplevel, isdeleted, remark, |
| | | createtime, updatetime, organizationid, |
| | | organizationname, organizationcode, departmentid, |
| | | departmentname, departmentcode, majorid, |
| | | majorname, majorcode) |
| | | values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
| | | #{outerphone,jdbcType=VARCHAR}, #{innerphone,jdbcType=VARCHAR}, #{supervisor,jdbcType=VARCHAR}, |
| | | #{supervisorassistant,jdbcType=VARCHAR}, #{fax,jdbcType=VARCHAR}, #{zipcode,jdbcType=VARCHAR}, |
| | | #{address,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, |
| | | #{deplevel,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{organizationid,jdbcType=VARCHAR}, |
| | | #{organizationname,jdbcType=VARCHAR}, #{organizationcode,jdbcType=VARCHAR}, #{departmentid,jdbcType=VARCHAR}, |
| | | #{departmentname,jdbcType=VARCHAR}, #{departmentcode,jdbcType=VARCHAR}, #{majorid,jdbcType=VARCHAR}, |
| | | #{majorname,jdbcType=VARCHAR}, #{majorcode,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.OrganizationGrade"> |
| | | insert into organization_grade |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | outerphone, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | innerphone, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | supervisor, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | supervisorassistant, |
| | | </if> |
| | | <if test="fax != null"> |
| | | fax, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | zipcode, |
| | | </if> |
| | | <if test="address != null"> |
| | | address, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | deplevel, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | organizationid, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | organizationname, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | organizationcode, |
| | | </if> |
| | | <if test="departmentid != null"> |
| | | departmentid, |
| | | </if> |
| | | <if test="departmentname != null"> |
| | | departmentname, |
| | | </if> |
| | | <if test="departmentcode != null"> |
| | | departmentcode, |
| | | </if> |
| | | <if test="majorid != null"> |
| | | majorid, |
| | | </if> |
| | | <if test="majorname != null"> |
| | | majorname, |
| | | </if> |
| | | <if test="majorcode != null"> |
| | | majorcode, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | #{outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | #{innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | #{supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | #{supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="fax != null"> |
| | | #{fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | #{zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="address != null"> |
| | | #{address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | #{deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | #{organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | #{organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | #{organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentid != null"> |
| | | #{departmentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentname != null"> |
| | | #{departmentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentcode != null"> |
| | | #{departmentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorid != null"> |
| | | #{majorid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorname != null"> |
| | | #{majorname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorcode != null"> |
| | | #{majorcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationGradeExample" resultType="java.lang.Long"> |
| | | select count(*) from organization_grade |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update organization_grade |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.outerphone != null"> |
| | | outerphone = #{record.outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.innerphone != null"> |
| | | innerphone = #{record.innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.supervisor != null"> |
| | | supervisor = #{record.supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.supervisorassistant != null"> |
| | | supervisorassistant = #{record.supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.fax != null"> |
| | | fax = #{record.fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.zipcode != null"> |
| | | zipcode = #{record.zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.address != null"> |
| | | address = #{record.address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentid != null"> |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.deplevel != null"> |
| | | deplevel = #{record.deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.organizationid != null"> |
| | | organizationid = #{record.organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.organizationname != null"> |
| | | organizationname = #{record.organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.organizationcode != null"> |
| | | organizationcode = #{record.organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.departmentid != null"> |
| | | departmentid = #{record.departmentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.departmentname != null"> |
| | | departmentname = #{record.departmentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.departmentcode != null"> |
| | | departmentcode = #{record.departmentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.majorid != null"> |
| | | majorid = #{record.majorid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.majorname != null"> |
| | | majorname = #{record.majorname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.majorcode != null"> |
| | | majorcode = #{record.majorcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update organization_grade |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | outerphone = #{record.outerphone,jdbcType=VARCHAR}, |
| | | innerphone = #{record.innerphone,jdbcType=VARCHAR}, |
| | | supervisor = #{record.supervisor,jdbcType=VARCHAR}, |
| | | supervisorassistant = #{record.supervisorassistant,jdbcType=VARCHAR}, |
| | | fax = #{record.fax,jdbcType=VARCHAR}, |
| | | zipcode = #{record.zipcode,jdbcType=VARCHAR}, |
| | | address = #{record.address,jdbcType=VARCHAR}, |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | deplevel = #{record.deplevel,jdbcType=INTEGER}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | organizationid = #{record.organizationid,jdbcType=VARCHAR}, |
| | | organizationname = #{record.organizationname,jdbcType=VARCHAR}, |
| | | organizationcode = #{record.organizationcode,jdbcType=VARCHAR}, |
| | | departmentid = #{record.departmentid,jdbcType=VARCHAR}, |
| | | departmentname = #{record.departmentname,jdbcType=VARCHAR}, |
| | | departmentcode = #{record.departmentcode,jdbcType=VARCHAR}, |
| | | majorid = #{record.majorid,jdbcType=VARCHAR}, |
| | | majorname = #{record.majorname,jdbcType=VARCHAR}, |
| | | majorcode = #{record.majorcode,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.OrganizationGrade"> |
| | | update organization_grade |
| | | <set> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | outerphone = #{outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | innerphone = #{innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | supervisor = #{supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | supervisorassistant = #{supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="fax != null"> |
| | | fax = #{fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | zipcode = #{zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="address != null"> |
| | | address = #{address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | deplevel = #{deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | organizationid = #{organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | organizationname = #{organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | organizationcode = #{organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentid != null"> |
| | | departmentid = #{departmentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentname != null"> |
| | | departmentname = #{departmentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentcode != null"> |
| | | departmentcode = #{departmentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorid != null"> |
| | | majorid = #{majorid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorname != null"> |
| | | majorname = #{majorname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="majorcode != null"> |
| | | majorcode = #{majorcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.OrganizationGrade"> |
| | | update organization_grade |
| | | set code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | outerphone = #{outerphone,jdbcType=VARCHAR}, |
| | | innerphone = #{innerphone,jdbcType=VARCHAR}, |
| | | supervisor = #{supervisor,jdbcType=VARCHAR}, |
| | | supervisorassistant = #{supervisorassistant,jdbcType=VARCHAR}, |
| | | fax = #{fax,jdbcType=VARCHAR}, |
| | | zipcode = #{zipcode,jdbcType=VARCHAR}, |
| | | address = #{address,jdbcType=VARCHAR}, |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | deplevel = #{deplevel,jdbcType=INTEGER}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | organizationid = #{organizationid,jdbcType=VARCHAR}, |
| | | organizationname = #{organizationname,jdbcType=VARCHAR}, |
| | | organizationcode = #{organizationcode,jdbcType=VARCHAR}, |
| | | departmentid = #{departmentid,jdbcType=VARCHAR}, |
| | | departmentname = #{departmentname,jdbcType=VARCHAR}, |
| | | departmentcode = #{departmentcode,jdbcType=VARCHAR}, |
| | | majorid = #{majorid,jdbcType=VARCHAR}, |
| | | majorname = #{majorname,jdbcType=VARCHAR}, |
| | | majorcode = #{majorcode,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.OrganizationMajor; |
| | | import com.farriver.bwf.data.master.model.OrganizationMajorExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface OrganizationMajorMapper { |
| | | long countByExample(OrganizationMajorExample example); |
| | | |
| | | int deleteByExample(OrganizationMajorExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(OrganizationMajor record); |
| | | |
| | | int insertSelective(OrganizationMajor record); |
| | | |
| | | List<OrganizationMajor> selectByExample(OrganizationMajorExample example); |
| | | |
| | | OrganizationMajor selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") OrganizationMajor record, @Param("example") OrganizationMajorExample example); |
| | | |
| | | int updateByExample(@Param("record") OrganizationMajor record, @Param("example") OrganizationMajorExample example); |
| | | |
| | | int updateByPrimaryKeySelective(OrganizationMajor record); |
| | | |
| | | int updateByPrimaryKey(OrganizationMajor record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.OrganizationMajorMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.OrganizationMajor"> |
| | | <id column="id" jdbcType="VARCHAR" property="id" /> |
| | | <result column="code" jdbcType="VARCHAR" property="code" /> |
| | | <result column="name" jdbcType="VARCHAR" property="name" /> |
| | | <result column="parentid" jdbcType="VARCHAR" property="parentid" /> |
| | | <result column="status" jdbcType="INTEGER" property="status" /> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime" /> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" /> |
| | | <result column="organizationid" jdbcType="VARCHAR" property="organizationid" /> |
| | | <result column="organizationname" jdbcType="VARCHAR" property="organizationname" /> |
| | | <result column="organizationcode" jdbcType="VARCHAR" property="organizationcode" /> |
| | | <result column="departmentid" jdbcType="VARCHAR" property="departmentid" /> |
| | | <result column="departmentname" jdbcType="VARCHAR" property="departmentname" /> |
| | | <result column="departmentcode" jdbcType="VARCHAR" property="departmentcode" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, code, name, parentid, status, isdeleted, remark, createtime, updatetime, organizationid, |
| | | organizationname, organizationcode, departmentid, departmentname, departmentcode |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationMajorExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | from organization_major |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from organization_major |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from organization_major |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationMajorExample"> |
| | | delete from organization_major |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.OrganizationMajor"> |
| | | insert into organization_major (id, code, name, |
| | | parentid, status, isdeleted, |
| | | remark, createtime, updatetime, |
| | | organizationid, organizationname, organizationcode, |
| | | departmentid, departmentname, departmentcode |
| | | ) |
| | | values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
| | | #{parentid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT}, |
| | | #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, |
| | | #{organizationid,jdbcType=VARCHAR}, #{organizationname,jdbcType=VARCHAR}, #{organizationcode,jdbcType=VARCHAR}, |
| | | #{departmentid,jdbcType=VARCHAR}, #{departmentname,jdbcType=VARCHAR}, #{departmentcode,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.OrganizationMajor"> |
| | | insert into organization_major |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | organizationid, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | organizationname, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | organizationcode, |
| | | </if> |
| | | <if test="departmentid != null"> |
| | | departmentid, |
| | | </if> |
| | | <if test="departmentname != null"> |
| | | departmentname, |
| | | </if> |
| | | <if test="departmentcode != null"> |
| | | departmentcode, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | #{organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | #{organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | #{organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentid != null"> |
| | | #{departmentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentname != null"> |
| | | #{departmentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentcode != null"> |
| | | #{departmentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationMajorExample" resultType="java.lang.Long"> |
| | | select count(*) from organization_major |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update organization_major |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentid != null"> |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.organizationid != null"> |
| | | organizationid = #{record.organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.organizationname != null"> |
| | | organizationname = #{record.organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.organizationcode != null"> |
| | | organizationcode = #{record.organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.departmentid != null"> |
| | | departmentid = #{record.departmentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.departmentname != null"> |
| | | departmentname = #{record.departmentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.departmentcode != null"> |
| | | departmentcode = #{record.departmentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update organization_major |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | organizationid = #{record.organizationid,jdbcType=VARCHAR}, |
| | | organizationname = #{record.organizationname,jdbcType=VARCHAR}, |
| | | organizationcode = #{record.organizationcode,jdbcType=VARCHAR}, |
| | | departmentid = #{record.departmentid,jdbcType=VARCHAR}, |
| | | departmentname = #{record.departmentname,jdbcType=VARCHAR}, |
| | | departmentcode = #{record.departmentcode,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.OrganizationMajor"> |
| | | update organization_major |
| | | <set> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="organizationid != null"> |
| | | organizationid = #{organizationid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationname != null"> |
| | | organizationname = #{organizationname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="organizationcode != null"> |
| | | organizationcode = #{organizationcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentid != null"> |
| | | departmentid = #{departmentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentname != null"> |
| | | departmentname = #{departmentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="departmentcode != null"> |
| | | departmentcode = #{departmentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.OrganizationMajor"> |
| | | update organization_major |
| | | set code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | organizationid = #{organizationid,jdbcType=VARCHAR}, |
| | | organizationname = #{organizationname,jdbcType=VARCHAR}, |
| | | organizationcode = #{organizationcode,jdbcType=VARCHAR}, |
| | | departmentid = #{departmentid,jdbcType=VARCHAR}, |
| | | departmentname = #{departmentname,jdbcType=VARCHAR}, |
| | | departmentcode = #{departmentcode,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.OrganizationMaster; |
| | | import com.farriver.bwf.data.master.model.OrganizationMasterExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface OrganizationMasterMapper { |
| | | long countByExample(OrganizationMasterExample example); |
| | | |
| | | int deleteByExample(OrganizationMasterExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(OrganizationMaster record); |
| | | |
| | | int insertSelective(OrganizationMaster record); |
| | | |
| | | List<OrganizationMaster> selectByExample(OrganizationMasterExample example); |
| | | |
| | | OrganizationMaster selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") OrganizationMaster record, @Param("example") OrganizationMasterExample example); |
| | | |
| | | int updateByExample(@Param("record") OrganizationMaster record, @Param("example") OrganizationMasterExample example); |
| | | |
| | | int updateByPrimaryKeySelective(OrganizationMaster record); |
| | | |
| | | int updateByPrimaryKey(OrganizationMaster record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.OrganizationMasterMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.OrganizationMaster"> |
| | | <id column="id" jdbcType="VARCHAR" property="id" /> |
| | | <result column="code" jdbcType="VARCHAR" property="code" /> |
| | | <result column="name" jdbcType="VARCHAR" property="name" /> |
| | | <result column="outerphone" jdbcType="VARCHAR" property="outerphone" /> |
| | | <result column="innerphone" jdbcType="VARCHAR" property="innerphone" /> |
| | | <result column="supervisor" jdbcType="VARCHAR" property="supervisor" /> |
| | | <result column="supervisorassistant" jdbcType="VARCHAR" property="supervisorassistant" /> |
| | | <result column="fax" jdbcType="VARCHAR" property="fax" /> |
| | | <result column="zipcode" jdbcType="VARCHAR" property="zipcode" /> |
| | | <result column="address" jdbcType="VARCHAR" property="address" /> |
| | | <result column="parentid" jdbcType="VARCHAR" property="parentid" /> |
| | | <result column="status" jdbcType="INTEGER" property="status" /> |
| | | <result column="deplevel" jdbcType="INTEGER" property="deplevel" /> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime" /> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, code, name, outerphone, innerphone, supervisor, supervisorassistant, fax, zipcode, |
| | | address, parentid, status, deplevel, isdeleted, remark, createtime, updatetime |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationMasterExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | from organization_master |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from organization_master |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from organization_master |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationMasterExample"> |
| | | delete from organization_master |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.OrganizationMaster"> |
| | | insert into organization_master (id, code, name, |
| | | outerphone, innerphone, supervisor, |
| | | supervisorassistant, fax, zipcode, |
| | | address, parentid, status, |
| | | deplevel, isdeleted, remark, |
| | | createtime, updatetime) |
| | | values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
| | | #{outerphone,jdbcType=VARCHAR}, #{innerphone,jdbcType=VARCHAR}, #{supervisor,jdbcType=VARCHAR}, |
| | | #{supervisorassistant,jdbcType=VARCHAR}, #{fax,jdbcType=VARCHAR}, #{zipcode,jdbcType=VARCHAR}, |
| | | #{address,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, |
| | | #{deplevel,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.OrganizationMaster"> |
| | | insert into organization_master |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | outerphone, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | innerphone, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | supervisor, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | supervisorassistant, |
| | | </if> |
| | | <if test="fax != null"> |
| | | fax, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | zipcode, |
| | | </if> |
| | | <if test="address != null"> |
| | | address, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | deplevel, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | #{outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | #{innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | #{supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | #{supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="fax != null"> |
| | | #{fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | #{zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="address != null"> |
| | | #{address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | #{deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.OrganizationMasterExample" resultType="java.lang.Long"> |
| | | select count(*) from organization_master |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update organization_master |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.outerphone != null"> |
| | | outerphone = #{record.outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.innerphone != null"> |
| | | innerphone = #{record.innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.supervisor != null"> |
| | | supervisor = #{record.supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.supervisorassistant != null"> |
| | | supervisorassistant = #{record.supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.fax != null"> |
| | | fax = #{record.fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.zipcode != null"> |
| | | zipcode = #{record.zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.address != null"> |
| | | address = #{record.address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentid != null"> |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.deplevel != null"> |
| | | deplevel = #{record.deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update organization_master |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | outerphone = #{record.outerphone,jdbcType=VARCHAR}, |
| | | innerphone = #{record.innerphone,jdbcType=VARCHAR}, |
| | | supervisor = #{record.supervisor,jdbcType=VARCHAR}, |
| | | supervisorassistant = #{record.supervisorassistant,jdbcType=VARCHAR}, |
| | | fax = #{record.fax,jdbcType=VARCHAR}, |
| | | zipcode = #{record.zipcode,jdbcType=VARCHAR}, |
| | | address = #{record.address,jdbcType=VARCHAR}, |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | deplevel = #{record.deplevel,jdbcType=INTEGER}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.OrganizationMaster"> |
| | | update organization_master |
| | | <set> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="outerphone != null"> |
| | | outerphone = #{outerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="innerphone != null"> |
| | | innerphone = #{innerphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisor != null"> |
| | | supervisor = #{supervisor,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="supervisorassistant != null"> |
| | | supervisorassistant = #{supervisorassistant,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="fax != null"> |
| | | fax = #{fax,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="zipcode != null"> |
| | | zipcode = #{zipcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="address != null"> |
| | | address = #{address,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="deplevel != null"> |
| | | deplevel = #{deplevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.OrganizationMaster"> |
| | | update organization_master |
| | | set code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | outerphone = #{outerphone,jdbcType=VARCHAR}, |
| | | innerphone = #{innerphone,jdbcType=VARCHAR}, |
| | | supervisor = #{supervisor,jdbcType=VARCHAR}, |
| | | supervisorassistant = #{supervisorassistant,jdbcType=VARCHAR}, |
| | | fax = #{fax,jdbcType=VARCHAR}, |
| | | zipcode = #{zipcode,jdbcType=VARCHAR}, |
| | | address = #{address,jdbcType=VARCHAR}, |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | deplevel = #{deplevel,jdbcType=INTEGER}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.QuestionCategory; |
| | | import com.farriver.bwf.data.master.model.QuestionCategoryExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface QuestionCategoryMapper { |
| | | long countByExample(QuestionCategoryExample example); |
| | | |
| | | int deleteByExample(QuestionCategoryExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(QuestionCategory record); |
| | | |
| | | int insertSelective(QuestionCategory record); |
| | | |
| | | List<QuestionCategory> selectByExample(QuestionCategoryExample example); |
| | | |
| | | QuestionCategory selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") QuestionCategory record, @Param("example") QuestionCategoryExample example); |
| | | |
| | | int updateByExample(@Param("record") QuestionCategory record, @Param("example") QuestionCategoryExample example); |
| | | |
| | | int updateByPrimaryKeySelective(QuestionCategory record); |
| | | |
| | | int updateByPrimaryKey(QuestionCategory record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.QuestionCategoryMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.QuestionCategory"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="parentid" jdbcType="VARCHAR" property="parentid"/> |
| | | <result column="name" jdbcType="VARCHAR" property="name"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="icon" jdbcType="VARCHAR" property="icon"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , parentid, name, isdeleted, remark, createtime, updatetime, status, icon |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.QuestionCategoryExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from question_category |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from question_category |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from question_category |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.QuestionCategoryExample"> |
| | | delete from question_category |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.QuestionCategory"> |
| | | insert into question_category (id, parentid, name, |
| | | isdeleted, remark, createtime, |
| | | updatetime, status, icon) |
| | | values (#{id,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
| | | #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, |
| | | #{updatetime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.QuestionCategory"> |
| | | insert into question_category |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="icon != null"> |
| | | icon, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="icon != null"> |
| | | #{icon,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.QuestionCategoryExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from question_category |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update question_category |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentid != null"> |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.icon != null"> |
| | | icon = #{record.icon,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update question_category |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | icon = #{record.icon,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.QuestionCategory"> |
| | | update question_category |
| | | <set> |
| | | <if test="parentid != null"> |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="icon != null"> |
| | | icon = #{icon,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.QuestionCategory"> |
| | | update question_category |
| | | set parentid = #{parentid,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | icon = #{icon,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.QuestionMasterAnswer; |
| | | import com.farriver.bwf.data.master.model.QuestionMasterAnswerExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface QuestionMasterAnswerMapper { |
| | | long countByExample(QuestionMasterAnswerExample example); |
| | | |
| | | int deleteByExample(QuestionMasterAnswerExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(QuestionMasterAnswer record); |
| | | |
| | | int insertSelective(QuestionMasterAnswer record); |
| | | |
| | | List<QuestionMasterAnswer> selectByExampleWithBLOBs(QuestionMasterAnswerExample example); |
| | | |
| | | List<QuestionMasterAnswer> selectByExample(QuestionMasterAnswerExample example); |
| | | |
| | | QuestionMasterAnswer selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") QuestionMasterAnswer record, @Param("example") QuestionMasterAnswerExample example); |
| | | |
| | | int updateByExampleWithBLOBs(@Param("record") QuestionMasterAnswer record, @Param("example") QuestionMasterAnswerExample example); |
| | | |
| | | int updateByExample(@Param("record") QuestionMasterAnswer record, @Param("example") QuestionMasterAnswerExample example); |
| | | |
| | | int updateByPrimaryKeySelective(QuestionMasterAnswer record); |
| | | |
| | | int updateByPrimaryKeyWithBLOBs(QuestionMasterAnswer record); |
| | | |
| | | int updateByPrimaryKey(QuestionMasterAnswer record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.QuestionMasterAnswerMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.QuestionMasterAnswer"> |
| | | <id column="id" jdbcType="VARCHAR" property="id" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime" /> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" /> |
| | | <result column="masterid" jdbcType="VARCHAR" property="masterid" /> |
| | | <result column="qkey" jdbcType="VARCHAR" property="qkey" /> |
| | | <result column="sequenceno" jdbcType="INTEGER" property="sequenceno" /> |
| | | </resultMap> |
| | | <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.farriver.bwf.data.master.model.QuestionMasterAnswer"> |
| | | <result column="qvalue" jdbcType="LONGVARCHAR" property="qvalue" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, remark, createtime, updatetime, masterid, qkey, sequenceno |
| | | </sql> |
| | | <sql id="Blob_Column_List"> |
| | | qvalue |
| | | </sql> |
| | | <select id="selectByExampleWithBLOBs" parameterType="com.farriver.bwf.data.master.model.QuestionMasterAnswerExample" resultMap="ResultMapWithBLOBs"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | , |
| | | <include refid="Blob_Column_List"/> |
| | | from question_master_answer |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.QuestionMasterAnswerExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | from question_master_answer |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | , |
| | | <include refid="Blob_Column_List" /> |
| | | from question_master_answer |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from question_master_answer |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.QuestionMasterAnswerExample"> |
| | | delete from question_master_answer |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.QuestionMasterAnswer"> |
| | | insert into question_master_answer (id, remark, createtime, |
| | | updatetime, masterid, qkey, |
| | | sequenceno, qvalue) |
| | | values (#{id,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, |
| | | #{updatetime,jdbcType=TIMESTAMP}, #{masterid,jdbcType=VARCHAR}, #{qkey,jdbcType=VARCHAR}, |
| | | #{sequenceno,jdbcType=INTEGER}, #{qvalue,jdbcType=LONGVARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.QuestionMasterAnswer"> |
| | | insert into question_master_answer |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | masterid, |
| | | </if> |
| | | <if test="qkey != null"> |
| | | qkey, |
| | | </if> |
| | | <if test="sequenceno != null"> |
| | | sequenceno, |
| | | </if> |
| | | <if test="qvalue != null"> |
| | | qvalue, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | #{masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="qkey != null"> |
| | | #{qkey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sequenceno != null"> |
| | | #{sequenceno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="qvalue != null"> |
| | | #{qvalue,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.QuestionMasterAnswerExample" resultType="java.lang.Long"> |
| | | select count(*) from question_master_answer |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update question_master_answer |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.masterid != null"> |
| | | masterid = #{record.masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.qkey != null"> |
| | | qkey = #{record.qkey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.sequenceno != null"> |
| | | sequenceno = #{record.sequenceno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.qvalue != null"> |
| | | qvalue = #{record.qvalue,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExampleWithBLOBs" parameterType="map"> |
| | | update question_master_answer |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | masterid = #{record.masterid,jdbcType=VARCHAR}, |
| | | qkey = #{record.qkey,jdbcType=VARCHAR}, |
| | | sequenceno = #{record.sequenceno,jdbcType=INTEGER}, |
| | | qvalue = #{record.qvalue,jdbcType=LONGVARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update question_master_answer |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | masterid = #{record.masterid,jdbcType=VARCHAR}, |
| | | qkey = #{record.qkey,jdbcType=VARCHAR}, |
| | | sequenceno = #{record.sequenceno,jdbcType=INTEGER} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.QuestionMasterAnswer"> |
| | | update question_master_answer |
| | | <set> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | masterid = #{masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="qkey != null"> |
| | | qkey = #{qkey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sequenceno != null"> |
| | | sequenceno = #{sequenceno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="qvalue != null"> |
| | | qvalue = #{qvalue,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.farriver.bwf.data.master.model.QuestionMasterAnswer"> |
| | | update question_master_answer |
| | | set remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | masterid = #{masterid,jdbcType=VARCHAR}, |
| | | qkey = #{qkey,jdbcType=VARCHAR}, |
| | | sequenceno = #{sequenceno,jdbcType=INTEGER}, |
| | | qvalue = #{qvalue,jdbcType=LONGVARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.QuestionMasterAnswer"> |
| | | update question_master_answer |
| | | set remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | masterid = #{masterid,jdbcType=VARCHAR}, |
| | | qkey = #{qkey,jdbcType=VARCHAR}, |
| | | sequenceno = #{sequenceno,jdbcType=INTEGER} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.entity.QuestionMasterWithBLOBsExtend; |
| | | import com.farriver.bwf.data.master.model.QuestionMaster; |
| | | import com.farriver.bwf.data.master.model.QuestionMasterExample; |
| | | import com.farriver.bwf.data.master.model.QuestionMasterWithBLOBs; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface QuestionMasterMapper { |
| | | long countByExample(QuestionMasterExample example); |
| | | |
| | | int deleteByExample(QuestionMasterExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(QuestionMasterWithBLOBs record); |
| | | |
| | | int insertSelective(QuestionMasterWithBLOBs record); |
| | | |
| | | List<QuestionMasterWithBLOBs> selectByExampleWithBLOBs(QuestionMasterExample example); |
| | | |
| | | List<QuestionMasterWithBLOBsExtend> selectByExampleWithBLOBsExtend(QuestionMasterExample example); |
| | | |
| | | List<QuestionMaster> selectByExample(QuestionMasterExample example); |
| | | |
| | | QuestionMasterWithBLOBs selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") QuestionMasterWithBLOBs record, @Param("example") QuestionMasterExample example); |
| | | |
| | | int updateByExampleWithBLOBs(@Param("record") QuestionMasterWithBLOBs record, @Param("example") QuestionMasterExample example); |
| | | |
| | | int updateByExample(@Param("record") QuestionMaster record, @Param("example") QuestionMasterExample example); |
| | | |
| | | int updateByPrimaryKeySelective(QuestionMasterWithBLOBs record); |
| | | |
| | | int updateByPrimaryKeyWithBLOBs(QuestionMasterWithBLOBs record); |
| | | |
| | | int updateByPrimaryKey(QuestionMaster record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.QuestionMasterMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.QuestionMaster"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="code" jdbcType="VARCHAR" property="code"/> |
| | | <result column="name" jdbcType="VARCHAR" property="name"/> |
| | | <result column="subjectid" jdbcType="VARCHAR" property="subjectid"/> |
| | | <result column="subjectname" jdbcType="VARCHAR" property="subjectname"/> |
| | | <result column="subjectcode" jdbcType="VARCHAR" property="subjectcode"/> |
| | | <result column="categoryid" jdbcType="VARCHAR" property="categoryid"/> |
| | | <result column="categoryname" jdbcType="VARCHAR" property="categoryname"/> |
| | | <result column="level" jdbcType="INTEGER" property="level"/> |
| | | <result column="score" jdbcType="DECIMAL" property="score"/> |
| | | <result column="knowledgepointid" jdbcType="VARCHAR" property="knowledgepointid"/> |
| | | <result column="knowledgepointname" jdbcType="VARCHAR" property="knowledgepointname"/> |
| | | <result column="knowledgepointcode" jdbcType="VARCHAR" property="knowledgepointcode"/> |
| | | </resultMap> |
| | | <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" |
| | | type="com.farriver.bwf.data.master.model.QuestionMasterWithBLOBs"> |
| | | <result column="stem" jdbcType="LONGVARCHAR" property="stem"/> |
| | | <result column="answer" jdbcType="LONGVARCHAR" property="answer"/> |
| | | <result column="casebody" jdbcType="LONGVARCHAR" property="casebody"/> |
| | | <result column="analysis" jdbcType="LONGVARCHAR" property="analysis"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , status, isdeleted, remark, createtime, updatetime, code, name, subjectid, subjectname, |
| | | subjectcode, categoryid, categoryname, level, score, knowledgepointid, knowledgepointname, |
| | | knowledgepointcode |
| | | </sql> |
| | | <sql id="Blob_Column_List"> |
| | | stem |
| | | , answer, casebody, analysis |
| | | </sql> |
| | | <select id="selectByExampleWithBLOBs" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionMasterExample" |
| | | resultMap="ResultMapWithBLOBs"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | , |
| | | <include refid="Blob_Column_List"/> |
| | | from question_master |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.QuestionMasterExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from question_master |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | , |
| | | <include refid="Blob_Column_List"/> |
| | | from question_master |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from question_master |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.QuestionMasterExample"> |
| | | delete from question_master |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.QuestionMasterWithBLOBs"> |
| | | insert into question_master (id, status, isdeleted, |
| | | remark, createtime, updatetime, |
| | | code, name, subjectid, |
| | | subjectname, subjectcode, categoryid, |
| | | categoryname, level, score, |
| | | knowledgepointid, knowledgepointname, knowledgepointcode, |
| | | stem, answer, casebody, |
| | | analysis) |
| | | values (#{id,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT}, |
| | | #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, |
| | | #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{subjectid,jdbcType=VARCHAR}, |
| | | #{subjectname,jdbcType=VARCHAR}, #{subjectcode,jdbcType=VARCHAR}, #{categoryid,jdbcType=VARCHAR}, |
| | | #{categoryname,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, #{score,jdbcType=DECIMAL}, |
| | | #{knowledgepointid,jdbcType=VARCHAR}, #{knowledgepointname,jdbcType=VARCHAR}, |
| | | #{knowledgepointcode,jdbcType=VARCHAR}, |
| | | #{stem,jdbcType=LONGVARCHAR}, #{answer,jdbcType=LONGVARCHAR}, #{casebody,jdbcType=LONGVARCHAR}, |
| | | #{analysis,jdbcType=LONGVARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.QuestionMasterWithBLOBs"> |
| | | insert into question_master |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | subjectid, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | subjectname, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | subjectcode, |
| | | </if> |
| | | <if test="categoryid != null"> |
| | | categoryid, |
| | | </if> |
| | | <if test="categoryname != null"> |
| | | categoryname, |
| | | </if> |
| | | <if test="level != null"> |
| | | level, |
| | | </if> |
| | | <if test="score != null"> |
| | | score, |
| | | </if> |
| | | <if test="knowledgepointid != null"> |
| | | knowledgepointid, |
| | | </if> |
| | | <if test="knowledgepointname != null"> |
| | | knowledgepointname, |
| | | </if> |
| | | <if test="knowledgepointcode != null"> |
| | | knowledgepointcode, |
| | | </if> |
| | | <if test="stem != null"> |
| | | stem, |
| | | </if> |
| | | <if test="answer != null"> |
| | | answer, |
| | | </if> |
| | | <if test="casebody != null"> |
| | | casebody, |
| | | </if> |
| | | <if test="analysis != null"> |
| | | analysis, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | #{subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | #{subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | #{subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="categoryid != null"> |
| | | #{categoryid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="categoryname != null"> |
| | | #{categoryname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="level != null"> |
| | | #{level,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="score != null"> |
| | | #{score,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="knowledgepointid != null"> |
| | | #{knowledgepointid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="knowledgepointname != null"> |
| | | #{knowledgepointname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="knowledgepointcode != null"> |
| | | #{knowledgepointcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="stem != null"> |
| | | #{stem,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | <if test="answer != null"> |
| | | #{answer,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | <if test="casebody != null"> |
| | | #{casebody,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | <if test="analysis != null"> |
| | | #{analysis,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.QuestionMasterExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from question_master |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update question_master |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectid != null"> |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectname != null"> |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectcode != null"> |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.categoryid != null"> |
| | | categoryid = #{record.categoryid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.categoryname != null"> |
| | | categoryname = #{record.categoryname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.level != null"> |
| | | level = #{record.level,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.score != null"> |
| | | score = #{record.score,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.knowledgepointid != null"> |
| | | knowledgepointid = #{record.knowledgepointid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.knowledgepointname != null"> |
| | | knowledgepointname = #{record.knowledgepointname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.knowledgepointcode != null"> |
| | | knowledgepointcode = #{record.knowledgepointcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.stem != null"> |
| | | stem = #{record.stem,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | <if test="record.answer != null"> |
| | | answer = #{record.answer,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | <if test="record.casebody != null"> |
| | | casebody = #{record.casebody,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | <if test="record.analysis != null"> |
| | | analysis = #{record.analysis,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExampleWithBLOBs" parameterType="map"> |
| | | update question_master |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR}, |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR}, |
| | | categoryid = #{record.categoryid,jdbcType=VARCHAR}, |
| | | categoryname = #{record.categoryname,jdbcType=VARCHAR}, |
| | | level = #{record.level,jdbcType=INTEGER}, |
| | | score = #{record.score,jdbcType=DECIMAL}, |
| | | knowledgepointid = #{record.knowledgepointid,jdbcType=VARCHAR}, |
| | | knowledgepointname = #{record.knowledgepointname,jdbcType=VARCHAR}, |
| | | knowledgepointcode = #{record.knowledgepointcode,jdbcType=VARCHAR}, |
| | | stem = #{record.stem,jdbcType=LONGVARCHAR}, |
| | | answer = #{record.answer,jdbcType=LONGVARCHAR}, |
| | | casebody = #{record.casebody,jdbcType=LONGVARCHAR}, |
| | | analysis = #{record.analysis,jdbcType=LONGVARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update question_master |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR}, |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR}, |
| | | categoryid = #{record.categoryid,jdbcType=VARCHAR}, |
| | | categoryname = #{record.categoryname,jdbcType=VARCHAR}, |
| | | level = #{record.level,jdbcType=INTEGER}, |
| | | score = #{record.score,jdbcType=DECIMAL}, |
| | | knowledgepointid = #{record.knowledgepointid,jdbcType=VARCHAR}, |
| | | knowledgepointname = #{record.knowledgepointname,jdbcType=VARCHAR}, |
| | | knowledgepointcode = #{record.knowledgepointcode,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionMasterWithBLOBs"> |
| | | update question_master |
| | | <set> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | subjectname = #{subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="categoryid != null"> |
| | | categoryid = #{categoryid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="categoryname != null"> |
| | | categoryname = #{categoryname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="level != null"> |
| | | level = #{level,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="score != null"> |
| | | score = #{score,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="knowledgepointid != null"> |
| | | knowledgepointid = #{knowledgepointid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="knowledgepointname != null"> |
| | | knowledgepointname = #{knowledgepointname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="knowledgepointcode != null"> |
| | | knowledgepointcode = #{knowledgepointcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="stem != null"> |
| | | stem = #{stem,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | <if test="answer != null"> |
| | | answer = #{answer,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | <if test="casebody != null"> |
| | | casebody = #{casebody,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | <if test="analysis != null"> |
| | | analysis = #{analysis,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKeyWithBLOBs" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionMasterWithBLOBs"> |
| | | update question_master |
| | | set status = #{status,jdbcType=INTEGER}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | subjectname = #{subjectname,jdbcType=VARCHAR}, |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR}, |
| | | categoryid = #{categoryid,jdbcType=VARCHAR}, |
| | | categoryname = #{categoryname,jdbcType=VARCHAR}, |
| | | level = #{level,jdbcType=INTEGER}, |
| | | score = #{score,jdbcType=DECIMAL}, |
| | | knowledgepointid = #{knowledgepointid,jdbcType=VARCHAR}, |
| | | knowledgepointname = #{knowledgepointname,jdbcType=VARCHAR}, |
| | | knowledgepointcode = #{knowledgepointcode,jdbcType=VARCHAR}, |
| | | stem = #{stem,jdbcType=LONGVARCHAR}, |
| | | answer = #{answer,jdbcType=LONGVARCHAR}, |
| | | casebody = #{casebody,jdbcType=LONGVARCHAR}, |
| | | analysis = #{analysis,jdbcType=LONGVARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.QuestionMaster"> |
| | | update question_master |
| | | set status = #{status,jdbcType=INTEGER}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | subjectname = #{subjectname,jdbcType=VARCHAR}, |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR}, |
| | | categoryid = #{categoryid,jdbcType=VARCHAR}, |
| | | categoryname = #{categoryname,jdbcType=VARCHAR}, |
| | | level = #{level,jdbcType=INTEGER}, |
| | | score = #{score,jdbcType=DECIMAL}, |
| | | knowledgepointid = #{knowledgepointid,jdbcType=VARCHAR}, |
| | | knowledgepointname = #{knowledgepointname,jdbcType=VARCHAR}, |
| | | knowledgepointcode = #{knowledgepointcode,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <resultMap extends="ResultMapWithBLOBs" id="QuestionMasterWithBLOBsExtendResultMap" |
| | | type="com.farriver.bwf.data.master.entity.QuestionMasterWithBLOBsExtend"> |
| | | <collection ofType="com.farriver.bwf.data.master.model.QuestionMasterAnswer" property="answers"> |
| | | <id column="ans_id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="ans_remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="ans_createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="ans_updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="ans_masterid" jdbcType="VARCHAR" property="masterid"/> |
| | | <result column="ans_qkey" jdbcType="VARCHAR" property="qkey"/> |
| | | <result column="ans_sequenceno" jdbcType="VARCHAR" property="sequenceno"/> |
| | | <result column="ans_qvalue" jdbcType="VARCHAR" property="qvalue"/> |
| | | </collection> |
| | | <collection ofType="com.farriver.bwf.data.master.model.QuestionMasterOption" property="options"> |
| | | <id column="op_id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="op_remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="op_createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="op_updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="op_masterid" jdbcType="VARCHAR" property="masterid"/> |
| | | <result column="op_qkey" jdbcType="VARCHAR" property="qkey"/> |
| | | <result column="op_sequenceno" jdbcType="VARCHAR" property="sequenceno"/> |
| | | <result column="op_qvalue" jdbcType="VARCHAR" property="qvalue"/> |
| | | </collection> |
| | | </resultMap> |
| | | <select id="selectByExampleWithBLOBsExtend" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionMasterExample" |
| | | resultMap="QuestionMasterWithBLOBsExtendResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | q.*, |
| | | op.id as op_id, |
| | | op.remark as op_remark, |
| | | op.createtime as op_createtime, |
| | | op.updatetime as op_updatetime, |
| | | op.masterid as op_masterid, |
| | | op.qkey as op_qkey, |
| | | op.qvalue as op_qvalue, |
| | | op.sequenceno as op_sequenceno, |
| | | |
| | | ans.id as ans_id, |
| | | ans.remark as ans_remark, |
| | | ans.createtime as ans_createtime, |
| | | ans.updatetime as ans_updatetime, |
| | | ans.masterid as ans_masterid, |
| | | ans.qkey as ans_qkey, |
| | | ans.qvalue as ans_qvalue, |
| | | ans.sequenceno as ans_sequenceno |
| | | |
| | | FROM ( |
| | | SELECT * FROM question_master |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | ) q |
| | | LEFT JOIN question_master_option op ON op.masterid = q.id |
| | | LEFT JOIN question_master_answer ans ON ans.masterid = q.id |
| | | </select> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.QuestionMasterOption; |
| | | import com.farriver.bwf.data.master.model.QuestionMasterOptionExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface QuestionMasterOptionMapper { |
| | | long countByExample(QuestionMasterOptionExample example); |
| | | |
| | | int deleteByExample(QuestionMasterOptionExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(QuestionMasterOption record); |
| | | |
| | | int insertSelective(QuestionMasterOption record); |
| | | |
| | | List<QuestionMasterOption> selectByExampleWithBLOBs(QuestionMasterOptionExample example); |
| | | |
| | | List<QuestionMasterOption> selectByExample(QuestionMasterOptionExample example); |
| | | |
| | | QuestionMasterOption selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") QuestionMasterOption record, @Param("example") QuestionMasterOptionExample example); |
| | | |
| | | int updateByExampleWithBLOBs(@Param("record") QuestionMasterOption record, @Param("example") QuestionMasterOptionExample example); |
| | | |
| | | int updateByExample(@Param("record") QuestionMasterOption record, @Param("example") QuestionMasterOptionExample example); |
| | | |
| | | int updateByPrimaryKeySelective(QuestionMasterOption record); |
| | | |
| | | int updateByPrimaryKeyWithBLOBs(QuestionMasterOption record); |
| | | |
| | | int updateByPrimaryKey(QuestionMasterOption record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.QuestionMasterOptionMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.QuestionMasterOption"> |
| | | <id column="id" jdbcType="VARCHAR" property="id" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime" /> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" /> |
| | | <result column="masterid" jdbcType="VARCHAR" property="masterid" /> |
| | | <result column="qkey" jdbcType="VARCHAR" property="qkey" /> |
| | | <result column="sequenceno" jdbcType="INTEGER" property="sequenceno" /> |
| | | </resultMap> |
| | | <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.farriver.bwf.data.master.model.QuestionMasterOption"> |
| | | <result column="qvalue" jdbcType="LONGVARCHAR" property="qvalue" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, remark, createtime, updatetime, masterid, qkey, sequenceno |
| | | </sql> |
| | | <sql id="Blob_Column_List"> |
| | | qvalue |
| | | </sql> |
| | | <select id="selectByExampleWithBLOBs" parameterType="com.farriver.bwf.data.master.model.QuestionMasterOptionExample" resultMap="ResultMapWithBLOBs"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | , |
| | | <include refid="Blob_Column_List" /> |
| | | from question_master_option |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.QuestionMasterOptionExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | from question_master_option |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | , |
| | | <include refid="Blob_Column_List" /> |
| | | from question_master_option |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from question_master_option |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.QuestionMasterOptionExample"> |
| | | delete from question_master_option |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.QuestionMasterOption"> |
| | | insert into question_master_option (id, remark, createtime, |
| | | updatetime, masterid, qkey, |
| | | sequenceno, qvalue) |
| | | values (#{id,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, |
| | | #{updatetime,jdbcType=TIMESTAMP}, #{masterid,jdbcType=VARCHAR}, #{qkey,jdbcType=VARCHAR}, |
| | | #{sequenceno,jdbcType=INTEGER}, #{qvalue,jdbcType=LONGVARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.QuestionMasterOption"> |
| | | insert into question_master_option |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | masterid, |
| | | </if> |
| | | <if test="qkey != null"> |
| | | qkey, |
| | | </if> |
| | | <if test="sequenceno != null"> |
| | | sequenceno, |
| | | </if> |
| | | <if test="qvalue != null"> |
| | | qvalue, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | #{masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="qkey != null"> |
| | | #{qkey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sequenceno != null"> |
| | | #{sequenceno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="qvalue != null"> |
| | | #{qvalue,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.QuestionMasterOptionExample" resultType="java.lang.Long"> |
| | | select count(*) from question_master_option |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update question_master_option |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.masterid != null"> |
| | | masterid = #{record.masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.qkey != null"> |
| | | qkey = #{record.qkey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.sequenceno != null"> |
| | | sequenceno = #{record.sequenceno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.qvalue != null"> |
| | | qvalue = #{record.qvalue,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExampleWithBLOBs" parameterType="map"> |
| | | update question_master_option |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | masterid = #{record.masterid,jdbcType=VARCHAR}, |
| | | qkey = #{record.qkey,jdbcType=VARCHAR}, |
| | | sequenceno = #{record.sequenceno,jdbcType=INTEGER}, |
| | | qvalue = #{record.qvalue,jdbcType=LONGVARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update question_master_option |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | masterid = #{record.masterid,jdbcType=VARCHAR}, |
| | | qkey = #{record.qkey,jdbcType=VARCHAR}, |
| | | sequenceno = #{record.sequenceno,jdbcType=INTEGER} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.QuestionMasterOption"> |
| | | update question_master_option |
| | | <set> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | masterid = #{masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="qkey != null"> |
| | | qkey = #{qkey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="sequenceno != null"> |
| | | sequenceno = #{sequenceno,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="qvalue != null"> |
| | | qvalue = #{qvalue,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.farriver.bwf.data.master.model.QuestionMasterOption"> |
| | | update question_master_option |
| | | set remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | masterid = #{masterid,jdbcType=VARCHAR}, |
| | | qkey = #{qkey,jdbcType=VARCHAR}, |
| | | sequenceno = #{sequenceno,jdbcType=INTEGER}, |
| | | qvalue = #{qvalue,jdbcType=LONGVARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.QuestionMasterOption"> |
| | | update question_master_option |
| | | set remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | masterid = #{masterid,jdbcType=VARCHAR}, |
| | | qkey = #{qkey,jdbcType=VARCHAR}, |
| | | sequenceno = #{sequenceno,jdbcType=INTEGER} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.QuestionPaperCategory; |
| | | import com.farriver.bwf.data.master.model.QuestionPaperCategoryExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface QuestionPaperCategoryMapper { |
| | | long countByExample(QuestionPaperCategoryExample example); |
| | | |
| | | int deleteByExample(QuestionPaperCategoryExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(QuestionPaperCategory record); |
| | | |
| | | int insertSelective(QuestionPaperCategory record); |
| | | |
| | | List<QuestionPaperCategory> selectByExample(QuestionPaperCategoryExample example); |
| | | |
| | | QuestionPaperCategory selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") QuestionPaperCategory record, @Param("example") QuestionPaperCategoryExample example); |
| | | |
| | | int updateByExample(@Param("record") QuestionPaperCategory record, @Param("example") QuestionPaperCategoryExample example); |
| | | |
| | | int updateByPrimaryKeySelective(QuestionPaperCategory record); |
| | | |
| | | int updateByPrimaryKey(QuestionPaperCategory record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.QuestionPaperCategoryMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.QuestionPaperCategory"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="parentid" jdbcType="VARCHAR" property="parentid"/> |
| | | <result column="name" jdbcType="VARCHAR" property="name"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="icon" jdbcType="VARCHAR" property="icon"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, parentid, name, isdeleted, remark, createtime, updatetime, status, icon |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.QuestionPaperCategoryExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from question_paper_category |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from question_paper_category |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from question_paper_category |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.QuestionPaperCategoryExample"> |
| | | delete from question_paper_category |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.QuestionPaperCategory"> |
| | | insert into question_paper_category (id, parentid, name, |
| | | isdeleted, remark, createtime, |
| | | updatetime, status, icon |
| | | ) |
| | | values (#{id,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
| | | #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, |
| | | #{updatetime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.QuestionPaperCategory"> |
| | | insert into question_paper_category |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="icon != null"> |
| | | icon, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="icon != null"> |
| | | #{icon,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.QuestionPaperCategoryExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from question_paper_category |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update question_paper_category |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentid != null"> |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.icon != null"> |
| | | icon = #{record.icon,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update question_paper_category |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | icon = #{record.icon,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionPaperCategory"> |
| | | update question_paper_category |
| | | <set> |
| | | <if test="parentid != null"> |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="icon != null"> |
| | | icon = #{icon,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.QuestionPaperCategory"> |
| | | update question_paper_category |
| | | set parentid = #{parentid,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | icon = #{icon,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.QuestionPaper; |
| | | import com.farriver.bwf.data.master.model.QuestionPaperExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface QuestionPaperMapper { |
| | | long countByExample(QuestionPaperExample example); |
| | | |
| | | int deleteByExample(QuestionPaperExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(QuestionPaper record); |
| | | |
| | | int insertSelective(QuestionPaper record); |
| | | |
| | | List<QuestionPaper> selectByExample(QuestionPaperExample example); |
| | | |
| | | QuestionPaper selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") QuestionPaper record, @Param("example") QuestionPaperExample example); |
| | | |
| | | int updateByExample(@Param("record") QuestionPaper record, @Param("example") QuestionPaperExample example); |
| | | |
| | | int updateByPrimaryKeySelective(QuestionPaper record); |
| | | |
| | | int updateByPrimaryKey(QuestionPaper record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.QuestionPaperMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.QuestionPaper"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="code" jdbcType="VARCHAR" property="code"/> |
| | | <result column="name" jdbcType="VARCHAR" property="name"/> |
| | | <result column="subjectid" jdbcType="VARCHAR" property="subjectid"/> |
| | | <result column="subjectname" jdbcType="VARCHAR" property="subjectname"/> |
| | | <result column="subjectcode" jdbcType="VARCHAR" property="subjectcode"/> |
| | | <result column="categoryid" jdbcType="VARCHAR" property="categoryid"/> |
| | | <result column="categoryname" jdbcType="VARCHAR" property="categoryname"/> |
| | | <result column="price" jdbcType="DECIMAL" property="price"/> |
| | | <result column="type" jdbcType="INTEGER" property="type"/> |
| | | <result column="coverimage" jdbcType="VARCHAR" property="coverimage"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, status, isdeleted, remark, createtime, updatetime, code, name, subjectid, subjectname, |
| | | subjectcode, categoryid, categoryname, price, type, coverimage |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.QuestionPaperExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from question_paper |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from question_paper |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from question_paper |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.QuestionPaperExample"> |
| | | delete from question_paper |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.QuestionPaper"> |
| | | insert into question_paper (id, status, isdeleted, |
| | | remark, createtime, updatetime, |
| | | code, name, subjectid, |
| | | subjectname, subjectcode, categoryid, |
| | | categoryname, price, type, |
| | | coverimage) |
| | | values (#{id,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT}, |
| | | #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, |
| | | #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{subjectid,jdbcType=VARCHAR}, |
| | | #{subjectname,jdbcType=VARCHAR}, #{subjectcode,jdbcType=VARCHAR}, #{categoryid,jdbcType=VARCHAR}, |
| | | #{categoryname,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, #{type,jdbcType=INTEGER}, |
| | | #{coverimage,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.QuestionPaper"> |
| | | insert into question_paper |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | subjectid, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | subjectname, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | subjectcode, |
| | | </if> |
| | | <if test="categoryid != null"> |
| | | categoryid, |
| | | </if> |
| | | <if test="categoryname != null"> |
| | | categoryname, |
| | | </if> |
| | | <if test="price != null"> |
| | | price, |
| | | </if> |
| | | <if test="type != null"> |
| | | type, |
| | | </if> |
| | | <if test="coverimage != null"> |
| | | coverimage, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | #{subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | #{subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | #{subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="categoryid != null"> |
| | | #{categoryid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="categoryname != null"> |
| | | #{categoryname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="price != null"> |
| | | #{price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="type != null"> |
| | | #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="coverimage != null"> |
| | | #{coverimage,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.QuestionPaperExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from question_paper |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update question_paper |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectid != null"> |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectname != null"> |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectcode != null"> |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.categoryid != null"> |
| | | categoryid = #{record.categoryid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.categoryname != null"> |
| | | categoryname = #{record.categoryname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.price != null"> |
| | | price = #{record.price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.type != null"> |
| | | type = #{record.type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.coverimage != null"> |
| | | coverimage = #{record.coverimage,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update question_paper |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR}, |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR}, |
| | | categoryid = #{record.categoryid,jdbcType=VARCHAR}, |
| | | categoryname = #{record.categoryname,jdbcType=VARCHAR}, |
| | | price = #{record.price,jdbcType=DECIMAL}, |
| | | type = #{record.type,jdbcType=INTEGER}, |
| | | coverimage = #{record.coverimage,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.QuestionPaper"> |
| | | update question_paper |
| | | <set> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | subjectname = #{subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="categoryid != null"> |
| | | categoryid = #{categoryid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="categoryname != null"> |
| | | categoryname = #{categoryname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="price != null"> |
| | | price = #{price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="type != null"> |
| | | type = #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="coverimage != null"> |
| | | coverimage = #{coverimage,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.QuestionPaper"> |
| | | update question_paper |
| | | set status = #{status,jdbcType=INTEGER}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | subjectname = #{subjectname,jdbcType=VARCHAR}, |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR}, |
| | | categoryid = #{categoryid,jdbcType=VARCHAR}, |
| | | categoryname = #{categoryname,jdbcType=VARCHAR}, |
| | | price = #{price,jdbcType=DECIMAL}, |
| | | type = #{type,jdbcType=INTEGER}, |
| | | coverimage = #{coverimage,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.QuestionPaperQuestionMasterRelation; |
| | | import com.farriver.bwf.data.master.model.QuestionPaperQuestionMasterRelationExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface QuestionPaperQuestionMasterRelationMapper { |
| | | long countByExample(QuestionPaperQuestionMasterRelationExample example); |
| | | |
| | | int deleteByExample(QuestionPaperQuestionMasterRelationExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(QuestionPaperQuestionMasterRelation record); |
| | | |
| | | int insertSelective(QuestionPaperQuestionMasterRelation record); |
| | | |
| | | List<QuestionPaperQuestionMasterRelation> selectByExample(QuestionPaperQuestionMasterRelationExample example); |
| | | |
| | | QuestionPaperQuestionMasterRelation selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") QuestionPaperQuestionMasterRelation record, @Param("example") QuestionPaperQuestionMasterRelationExample example); |
| | | |
| | | int updateByExample(@Param("record") QuestionPaperQuestionMasterRelation record, @Param("example") QuestionPaperQuestionMasterRelationExample example); |
| | | |
| | | int updateByPrimaryKeySelective(QuestionPaperQuestionMasterRelation record); |
| | | |
| | | int updateByPrimaryKey(QuestionPaperQuestionMasterRelation record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.QuestionPaperQuestionMasterRelationMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.QuestionPaperQuestionMasterRelation"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="actionby" jdbcType="VARCHAR" property="actionby"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="questionid" jdbcType="VARCHAR" property="questionid"/> |
| | | <result column="questionname" jdbcType="VARCHAR" property="questionname"/> |
| | | <result column="questioncode" jdbcType="VARCHAR" property="questioncode"/> |
| | | <result column="paperid" jdbcType="VARCHAR" property="paperid"/> |
| | | <result column="papername" jdbcType="VARCHAR" property="papername"/> |
| | | <result column="papercode" jdbcType="VARCHAR" property="papercode"/> |
| | | <result column="quetioncategory" jdbcType="VARCHAR" property="quetioncategory"/> |
| | | <result column="subjectid" jdbcType="VARCHAR" property="subjectid"/> |
| | | <result column="subjectcode" jdbcType="VARCHAR" property="subjectcode"/> |
| | | <result column="subjectname" jdbcType="VARCHAR" property="subjectname"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , createtime, updatetime, status, actionby, isdeleted, questionid, questionname, |
| | | questioncode, paperid, papername, papercode, quetioncategory, subjectid, subjectcode, |
| | | subjectname |
| | | </sql> |
| | | <select id="selectByExample" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionPaperQuestionMasterRelationExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from question_paper_question_master_relation |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from question_paper_question_master_relation |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from question_paper_question_master_relation |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionPaperQuestionMasterRelationExample"> |
| | | delete from question_paper_question_master_relation |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.QuestionPaperQuestionMasterRelation"> |
| | | insert into question_paper_question_master_relation (id, createtime, updatetime, |
| | | status, actionby, isdeleted, |
| | | questionid, questionname, questioncode, |
| | | paperid, papername, papercode, |
| | | quetioncategory, subjectid, subjectcode, |
| | | subjectname) |
| | | values (#{id,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, |
| | | #{status,jdbcType=INTEGER}, #{actionby,jdbcType=VARCHAR}, #{isdeleted,jdbcType=BIT}, |
| | | #{questionid,jdbcType=VARCHAR}, #{questionname,jdbcType=VARCHAR}, #{questioncode,jdbcType=VARCHAR}, |
| | | #{paperid,jdbcType=VARCHAR}, #{papername,jdbcType=VARCHAR}, #{papercode,jdbcType=VARCHAR}, |
| | | #{quetioncategory,jdbcType=VARCHAR}, #{subjectid,jdbcType=VARCHAR}, #{subjectcode,jdbcType=VARCHAR}, |
| | | #{subjectname,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionPaperQuestionMasterRelation"> |
| | | insert into question_paper_question_master_relation |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | actionby, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="questionid != null"> |
| | | questionid, |
| | | </if> |
| | | <if test="questionname != null"> |
| | | questionname, |
| | | </if> |
| | | <if test="questioncode != null"> |
| | | questioncode, |
| | | </if> |
| | | <if test="paperid != null"> |
| | | paperid, |
| | | </if> |
| | | <if test="papername != null"> |
| | | papername, |
| | | </if> |
| | | <if test="papercode != null"> |
| | | papercode, |
| | | </if> |
| | | <if test="quetioncategory != null"> |
| | | quetioncategory, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | subjectid, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | subjectcode, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | subjectname, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | #{actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="questionid != null"> |
| | | #{questionid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="questionname != null"> |
| | | #{questionname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="questioncode != null"> |
| | | #{questioncode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="paperid != null"> |
| | | #{paperid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="papername != null"> |
| | | #{papername,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="papercode != null"> |
| | | #{papercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="quetioncategory != null"> |
| | | #{quetioncategory,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | #{subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | #{subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | #{subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionPaperQuestionMasterRelationExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from question_paper_question_master_relation |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update question_paper_question_master_relation |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.actionby != null"> |
| | | actionby = #{record.actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.questionid != null"> |
| | | questionid = #{record.questionid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.questionname != null"> |
| | | questionname = #{record.questionname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.questioncode != null"> |
| | | questioncode = #{record.questioncode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.paperid != null"> |
| | | paperid = #{record.paperid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.papername != null"> |
| | | papername = #{record.papername,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.papercode != null"> |
| | | papercode = #{record.papercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.quetioncategory != null"> |
| | | quetioncategory = #{record.quetioncategory,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectid != null"> |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectcode != null"> |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectname != null"> |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update question_paper_question_master_relation |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | actionby = #{record.actionby,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | questionid = #{record.questionid,jdbcType=VARCHAR}, |
| | | questionname = #{record.questionname,jdbcType=VARCHAR}, |
| | | questioncode = #{record.questioncode,jdbcType=VARCHAR}, |
| | | paperid = #{record.paperid,jdbcType=VARCHAR}, |
| | | papername = #{record.papername,jdbcType=VARCHAR}, |
| | | papercode = #{record.papercode,jdbcType=VARCHAR}, |
| | | quetioncategory = #{record.quetioncategory,jdbcType=VARCHAR}, |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR}, |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionPaperQuestionMasterRelation"> |
| | | update question_paper_question_master_relation |
| | | <set> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | actionby = #{actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="questionid != null"> |
| | | questionid = #{questionid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="questionname != null"> |
| | | questionname = #{questionname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="questioncode != null"> |
| | | questioncode = #{questioncode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="paperid != null"> |
| | | paperid = #{paperid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="papername != null"> |
| | | papername = #{papername,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="papercode != null"> |
| | | papercode = #{papercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="quetioncategory != null"> |
| | | quetioncategory = #{quetioncategory,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | subjectname = #{subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionPaperQuestionMasterRelation"> |
| | | update question_paper_question_master_relation |
| | | set createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | actionby = #{actionby,jdbcType=VARCHAR}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | questionid = #{questionid,jdbcType=VARCHAR}, |
| | | questionname = #{questionname,jdbcType=VARCHAR}, |
| | | questioncode = #{questioncode,jdbcType=VARCHAR}, |
| | | paperid = #{paperid,jdbcType=VARCHAR}, |
| | | papername = #{papername,jdbcType=VARCHAR}, |
| | | papercode = #{papercode,jdbcType=VARCHAR}, |
| | | quetioncategory = #{quetioncategory,jdbcType=VARCHAR}, |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR}, |
| | | subjectname = #{subjectname,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.QuestionSubjectGradeRelation; |
| | | import com.farriver.bwf.data.master.model.QuestionSubjectGradeRelationExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface QuestionSubjectGradeRelationMapper { |
| | | long countByExample(QuestionSubjectGradeRelationExample example); |
| | | |
| | | int deleteByExample(QuestionSubjectGradeRelationExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(QuestionSubjectGradeRelation record); |
| | | |
| | | int insertSelective(QuestionSubjectGradeRelation record); |
| | | |
| | | List<QuestionSubjectGradeRelation> selectByExample(QuestionSubjectGradeRelationExample example); |
| | | |
| | | QuestionSubjectGradeRelation selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") QuestionSubjectGradeRelation record, @Param("example") QuestionSubjectGradeRelationExample example); |
| | | |
| | | int updateByExample(@Param("record") QuestionSubjectGradeRelation record, @Param("example") QuestionSubjectGradeRelationExample example); |
| | | |
| | | int updateByPrimaryKeySelective(QuestionSubjectGradeRelation record); |
| | | |
| | | int updateByPrimaryKey(QuestionSubjectGradeRelation record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.QuestionSubjectGradeRelationMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.QuestionSubjectGradeRelation"> |
| | | <id column="id" jdbcType="VARCHAR" property="id" /> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime" /> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" /> |
| | | <result column="status" jdbcType="INTEGER" property="status" /> |
| | | <result column="actionby" jdbcType="VARCHAR" property="actionby" /> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted" /> |
| | | <result column="gradeid" jdbcType="VARCHAR" property="gradeid" /> |
| | | <result column="gradename" jdbcType="VARCHAR" property="gradename" /> |
| | | <result column="gradecode" jdbcType="VARCHAR" property="gradecode" /> |
| | | <result column="subjectid" jdbcType="VARCHAR" property="subjectid" /> |
| | | <result column="subjectname" jdbcType="VARCHAR" property="subjectname" /> |
| | | <result column="subjectcode" jdbcType="VARCHAR" property="subjectcode" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, createtime, updatetime, status, actionby, isdeleted, gradeid, gradename, gradecode, |
| | | subjectid, subjectname, subjectcode |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectGradeRelationExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | from question_subject_grade_relation |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from question_subject_grade_relation |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from question_subject_grade_relation |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectGradeRelationExample"> |
| | | delete from question_subject_grade_relation |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectGradeRelation"> |
| | | insert into question_subject_grade_relation (id, createtime, updatetime, |
| | | status, actionby, isdeleted, |
| | | gradeid, gradename, gradecode, |
| | | subjectid, subjectname, subjectcode |
| | | ) |
| | | values (#{id,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, |
| | | #{status,jdbcType=INTEGER}, #{actionby,jdbcType=VARCHAR}, #{isdeleted,jdbcType=BIT}, |
| | | #{gradeid,jdbcType=VARCHAR}, #{gradename,jdbcType=VARCHAR}, #{gradecode,jdbcType=VARCHAR}, |
| | | #{subjectid,jdbcType=VARCHAR}, #{subjectname,jdbcType=VARCHAR}, #{subjectcode,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectGradeRelation"> |
| | | insert into question_subject_grade_relation |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | actionby, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="gradeid != null"> |
| | | gradeid, |
| | | </if> |
| | | <if test="gradename != null"> |
| | | gradename, |
| | | </if> |
| | | <if test="gradecode != null"> |
| | | gradecode, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | subjectid, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | subjectname, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | subjectcode, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | #{actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="gradeid != null"> |
| | | #{gradeid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="gradename != null"> |
| | | #{gradename,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="gradecode != null"> |
| | | #{gradecode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | #{subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | #{subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | #{subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectGradeRelationExample" resultType="java.lang.Long"> |
| | | select count(*) from question_subject_grade_relation |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update question_subject_grade_relation |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.actionby != null"> |
| | | actionby = #{record.actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.gradeid != null"> |
| | | gradeid = #{record.gradeid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.gradename != null"> |
| | | gradename = #{record.gradename,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.gradecode != null"> |
| | | gradecode = #{record.gradecode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectid != null"> |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectname != null"> |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectcode != null"> |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update question_subject_grade_relation |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | actionby = #{record.actionby,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | gradeid = #{record.gradeid,jdbcType=VARCHAR}, |
| | | gradename = #{record.gradename,jdbcType=VARCHAR}, |
| | | gradecode = #{record.gradecode,jdbcType=VARCHAR}, |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR}, |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectGradeRelation"> |
| | | update question_subject_grade_relation |
| | | <set> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | actionby = #{actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="gradeid != null"> |
| | | gradeid = #{gradeid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="gradename != null"> |
| | | gradename = #{gradename,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="gradecode != null"> |
| | | gradecode = #{gradecode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | subjectname = #{subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectGradeRelation"> |
| | | update question_subject_grade_relation |
| | | set createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | actionby = #{actionby,jdbcType=VARCHAR}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | gradeid = #{gradeid,jdbcType=VARCHAR}, |
| | | gradename = #{gradename,jdbcType=VARCHAR}, |
| | | gradecode = #{gradecode,jdbcType=VARCHAR}, |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | subjectname = #{subjectname,jdbcType=VARCHAR}, |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.QuestionSubjectKnowledgePoint; |
| | | import com.farriver.bwf.data.master.model.QuestionSubjectKnowledgePointExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface QuestionSubjectKnowledgePointMapper { |
| | | long countByExample(QuestionSubjectKnowledgePointExample example); |
| | | |
| | | int deleteByExample(QuestionSubjectKnowledgePointExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(QuestionSubjectKnowledgePoint record); |
| | | |
| | | int insertSelective(QuestionSubjectKnowledgePoint record); |
| | | |
| | | List<QuestionSubjectKnowledgePoint> selectByExample(QuestionSubjectKnowledgePointExample example); |
| | | |
| | | QuestionSubjectKnowledgePoint selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") QuestionSubjectKnowledgePoint record, @Param("example") QuestionSubjectKnowledgePointExample example); |
| | | |
| | | int updateByExample(@Param("record") QuestionSubjectKnowledgePoint record, @Param("example") QuestionSubjectKnowledgePointExample example); |
| | | |
| | | int updateByPrimaryKeySelective(QuestionSubjectKnowledgePoint record); |
| | | |
| | | int updateByPrimaryKey(QuestionSubjectKnowledgePoint record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.QuestionSubjectKnowledgePointMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.QuestionSubjectKnowledgePoint"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="parentid" jdbcType="VARCHAR" property="parentid"/> |
| | | <result column="name" jdbcType="VARCHAR" property="name"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="subjectid" jdbcType="VARCHAR" property="subjectid"/> |
| | | <result column="subjectname" jdbcType="VARCHAR" property="subjectname"/> |
| | | <result column="subjectcode" jdbcType="VARCHAR" property="subjectcode"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, parentid, name, isdeleted, remark, createtime, updatetime, status, subjectid, |
| | | subjectname, subjectcode |
| | | </sql> |
| | | <select id="selectByExample" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionSubjectKnowledgePointExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from question_subject_knowledge_point |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from question_subject_knowledge_point |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from question_subject_knowledge_point |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionSubjectKnowledgePointExample"> |
| | | delete from question_subject_knowledge_point |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectKnowledgePoint"> |
| | | insert into question_subject_knowledge_point (id, parentid, name, |
| | | isdeleted, remark, createtime, |
| | | updatetime, status, subjectid, |
| | | subjectname, subjectcode) |
| | | values (#{id,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
| | | #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, |
| | | #{updatetime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{subjectid,jdbcType=VARCHAR}, |
| | | #{subjectname,jdbcType=VARCHAR}, #{subjectcode,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionSubjectKnowledgePoint"> |
| | | insert into question_subject_knowledge_point |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | subjectid, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | subjectname, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | subjectcode, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | #{subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | #{subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | #{subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionSubjectKnowledgePointExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from question_subject_knowledge_point |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update question_subject_knowledge_point |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentid != null"> |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.subjectid != null"> |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectname != null"> |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.subjectcode != null"> |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update question_subject_knowledge_point |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | subjectid = #{record.subjectid,jdbcType=VARCHAR}, |
| | | subjectname = #{record.subjectname,jdbcType=VARCHAR}, |
| | | subjectcode = #{record.subjectcode,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionSubjectKnowledgePoint"> |
| | | update question_subject_knowledge_point |
| | | <set> |
| | | <if test="parentid != null"> |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="subjectid != null"> |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectname != null"> |
| | | subjectname = #{subjectname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="subjectcode != null"> |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" |
| | | parameterType="com.farriver.bwf.data.master.model.QuestionSubjectKnowledgePoint"> |
| | | update question_subject_knowledge_point |
| | | set parentid = #{parentid,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | subjectid = #{subjectid,jdbcType=VARCHAR}, |
| | | subjectname = #{subjectname,jdbcType=VARCHAR}, |
| | | subjectcode = #{subjectcode,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.QuestionSubject; |
| | | import com.farriver.bwf.data.master.model.QuestionSubjectExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface QuestionSubjectMapper { |
| | | long countByExample(QuestionSubjectExample example); |
| | | |
| | | int deleteByExample(QuestionSubjectExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(QuestionSubject record); |
| | | |
| | | int insertSelective(QuestionSubject record); |
| | | |
| | | List<QuestionSubject> selectByExample(QuestionSubjectExample example); |
| | | |
| | | QuestionSubject selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") QuestionSubject record, @Param("example") QuestionSubjectExample example); |
| | | |
| | | int updateByExample(@Param("record") QuestionSubject record, @Param("example") QuestionSubjectExample example); |
| | | |
| | | int updateByPrimaryKeySelective(QuestionSubject record); |
| | | |
| | | int updateByPrimaryKey(QuestionSubject record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.QuestionSubjectMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.QuestionSubject"> |
| | | <id column="id" jdbcType="VARCHAR" property="id" /> |
| | | <result column="status" jdbcType="INTEGER" property="status" /> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted" /> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark" /> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime" /> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime" /> |
| | | <result column="code" jdbcType="VARCHAR" property="code" /> |
| | | <result column="name" jdbcType="VARCHAR" property="name" /> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, status, isdeleted, remark, createtime, updatetime, code, name |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectExample" resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List" /> |
| | | from question_subject |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List" /> |
| | | from question_subject |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from question_subject |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectExample"> |
| | | delete from question_subject |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.QuestionSubject"> |
| | | insert into question_subject (id, status, isdeleted, |
| | | remark, createtime, updatetime, |
| | | code, name) |
| | | values (#{id,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{isdeleted,jdbcType=BIT}, |
| | | #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, |
| | | #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.QuestionSubject"> |
| | | insert into question_subject |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.QuestionSubjectExample" resultType="java.lang.Long"> |
| | | select count(*) from question_subject |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause" /> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update question_subject |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update question_subject |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause" /> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.QuestionSubject"> |
| | | update question_subject |
| | | <set> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.QuestionSubject"> |
| | | update question_subject |
| | | set status = #{status,jdbcType=INTEGER}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.entity.ShoppingCartExtend; |
| | | import com.farriver.bwf.data.master.model.ShoppingCart; |
| | | import com.farriver.bwf.data.master.model.ShoppingCartExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface ShoppingCartMapper { |
| | | long countByExample(ShoppingCartExample example); |
| | | |
| | | int deleteByExample(ShoppingCartExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(ShoppingCart record); |
| | | |
| | | int insertSelective(ShoppingCart record); |
| | | |
| | | List<ShoppingCart> selectByExample(ShoppingCartExample example); |
| | | |
| | | List<ShoppingCartExtend> selectShoppingCartExtendByExample(ShoppingCartExample example); |
| | | |
| | | ShoppingCart selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") ShoppingCart record, @Param("example") ShoppingCartExample example); |
| | | |
| | | int updateByExample(@Param("record") ShoppingCart record, @Param("example") ShoppingCartExample example); |
| | | |
| | | int updateByPrimaryKeySelective(ShoppingCart record); |
| | | |
| | | int updateByPrimaryKey(ShoppingCart record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.ShoppingCartMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.ShoppingCart"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="code" jdbcType="VARCHAR" property="code"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="vipuserId" jdbcType="VARCHAR" property="vipuserid"/> |
| | | <result column="vipname" jdbcType="VARCHAR" property="vipname"/> |
| | | <result column="vipphone" jdbcType="VARCHAR" property="vipphone"/> |
| | | <result column="vipdiamondtype" jdbcType="INTEGER" property="vipdiamondtype"/> |
| | | <result column="viptype" jdbcType="INTEGER" property="viptype"/> |
| | | <result column="vippicture" jdbcType="VARCHAR" property="vippicture"/> |
| | | <result column="vipcarddiscountrate" jdbcType="DECIMAL" property="vipcarddiscountrate"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , code, isdeleted, remark, createtime, updatetime, vipuserId, vipname, vipphone, |
| | | vipdiamondtype, viptype, vippicture, vipcarddiscountrate |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.ShoppingCartExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from shopping_cart |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from shopping_cart |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from shopping_cart |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.ShoppingCartExample"> |
| | | delete from shopping_cart |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.ShoppingCart"> |
| | | insert into shopping_cart (id, code, isdeleted, |
| | | remark, createtime, updatetime, |
| | | vipuserId, vipname, vipphone, |
| | | vipdiamondtype, viptype, vippicture, |
| | | vipcarddiscountrate) |
| | | values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{isdeleted,jdbcType=BIT}, |
| | | #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, |
| | | #{vipuserid,jdbcType=VARCHAR}, #{vipname,jdbcType=VARCHAR}, #{vipphone,jdbcType=VARCHAR}, |
| | | #{vipdiamondtype,jdbcType=INTEGER}, #{viptype,jdbcType=INTEGER}, #{vippicture,jdbcType=VARCHAR}, |
| | | #{vipcarddiscountrate,jdbcType=DECIMAL}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.ShoppingCart"> |
| | | insert into shopping_cart |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="vipuserid != null"> |
| | | vipuserId, |
| | | </if> |
| | | <if test="vipname != null"> |
| | | vipname, |
| | | </if> |
| | | <if test="vipphone != null"> |
| | | vipphone, |
| | | </if> |
| | | <if test="vipdiamondtype != null"> |
| | | vipdiamondtype, |
| | | </if> |
| | | <if test="viptype != null"> |
| | | viptype, |
| | | </if> |
| | | <if test="vippicture != null"> |
| | | vippicture, |
| | | </if> |
| | | <if test="vipcarddiscountrate != null"> |
| | | vipcarddiscountrate, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="vipuserid != null"> |
| | | #{vipuserid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipname != null"> |
| | | #{vipname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipphone != null"> |
| | | #{vipphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipdiamondtype != null"> |
| | | #{vipdiamondtype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="viptype != null"> |
| | | #{viptype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="vippicture != null"> |
| | | #{vippicture,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipcarddiscountrate != null"> |
| | | #{vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.ShoppingCartExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from shopping_cart |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update shopping_cart |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.vipuserid != null"> |
| | | vipuserId = #{record.vipuserid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipname != null"> |
| | | vipname = #{record.vipname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipphone != null"> |
| | | vipphone = #{record.vipphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipdiamondtype != null"> |
| | | vipdiamondtype = #{record.vipdiamondtype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.viptype != null"> |
| | | viptype = #{record.viptype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.vippicture != null"> |
| | | vippicture = #{record.vippicture,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.vipcarddiscountrate != null"> |
| | | vipcarddiscountrate = #{record.vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update shopping_cart |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | vipuserId = #{record.vipuserid,jdbcType=VARCHAR}, |
| | | vipname = #{record.vipname,jdbcType=VARCHAR}, |
| | | vipphone = #{record.vipphone,jdbcType=VARCHAR}, |
| | | vipdiamondtype = #{record.vipdiamondtype,jdbcType=INTEGER}, |
| | | viptype = #{record.viptype,jdbcType=INTEGER}, |
| | | vippicture = #{record.vippicture,jdbcType=VARCHAR}, |
| | | vipcarddiscountrate = #{record.vipcarddiscountrate,jdbcType=DECIMAL} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.ShoppingCart"> |
| | | update shopping_cart |
| | | <set> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="vipuserid != null"> |
| | | vipuserId = #{vipuserid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipname != null"> |
| | | vipname = #{vipname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipphone != null"> |
| | | vipphone = #{vipphone,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipdiamondtype != null"> |
| | | vipdiamondtype = #{vipdiamondtype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="viptype != null"> |
| | | viptype = #{viptype,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="vippicture != null"> |
| | | vippicture = #{vippicture,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="vipcarddiscountrate != null"> |
| | | vipcarddiscountrate = #{vipcarddiscountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.ShoppingCart"> |
| | | update shopping_cart |
| | | set code = #{code,jdbcType=VARCHAR}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | vipuserId = #{vipuserid,jdbcType=VARCHAR}, |
| | | vipname = #{vipname,jdbcType=VARCHAR}, |
| | | vipphone = #{vipphone,jdbcType=VARCHAR}, |
| | | vipdiamondtype = #{vipdiamondtype,jdbcType=INTEGER}, |
| | | viptype = #{viptype,jdbcType=INTEGER}, |
| | | vippicture = #{vippicture,jdbcType=VARCHAR}, |
| | | vipcarddiscountrate = #{vipcarddiscountrate,jdbcType=DECIMAL} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <resultMap extends="BaseResultMap" id="ShoppingCartExtendResultMap" |
| | | type="com.farriver.bwf.data.master.entity.ShoppingCartExtend"> |
| | | <collection ofType="com.farriver.bwf.data.master.model.ShoppingCartProduct" property="products"> |
| | | <id column="p_id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="p_isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="p_remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="p_createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="p_updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="p_productid" jdbcType="VARCHAR" property="productid"/> |
| | | <result column="p_productcode" jdbcType="VARCHAR" property="productcode"/> |
| | | <result column="p_productname" jdbcType="VARCHAR" property="productname"/> |
| | | <result column="p_status" jdbcType="INTEGER" property="status"/> |
| | | <result column="p_color" jdbcType="VARCHAR" property="color"/> |
| | | <result column="p_size" jdbcType="VARCHAR" property="size"/> |
| | | <result column="p_count" jdbcType="INTEGER" property="count"/> |
| | | <result column="p_image" jdbcType="VARCHAR" property="image"/> |
| | | <result column="p_price" jdbcType="DECIMAL" property="price"/> |
| | | <result column="p_saleprice" jdbcType="DECIMAL" property="saleprice"/> |
| | | <result column="p_cartcode" jdbcType="VARCHAR" property="cartcode"/> |
| | | <result column="p_cartid" jdbcType="VARCHAR" property="cartid"/> |
| | | </collection> |
| | | </resultMap> |
| | | <select id="selectShoppingCartExtendByExample" |
| | | parameterType="com.farriver.bwf.data.master.model.ShoppingCartExample" |
| | | resultMap="ShoppingCartExtendResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | s.*, |
| | | p.id AS p_id, |
| | | p.isdeleted AS p_isdeleted, |
| | | p.remark AS p_remark, |
| | | p.createtime AS p_createtime, |
| | | p.updatetime AS p_updatetime, |
| | | p.productid AS p_productid, |
| | | p.productcode AS p_productcode, |
| | | p.productname AS p_productname, |
| | | p.status AS p_status, |
| | | p.color AS p_color, |
| | | p.size AS p_size, |
| | | p.count AS p_count, |
| | | p.image AS p_image, |
| | | p.price AS p_price, |
| | | p.saleprice AS p_saleprice, |
| | | p.cartcode AS p_cartcode, |
| | | p.cartid AS p_cartid |
| | | FROM ( |
| | | SELECT * FROM shopping_cart |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | ) s |
| | | LEFT JOIN shopping_cart_product p ON s.id = p.cartid |
| | | </select> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.ShoppingCartProduct; |
| | | import com.farriver.bwf.data.master.model.ShoppingCartProductExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface ShoppingCartProductMapper { |
| | | long countByExample(ShoppingCartProductExample example); |
| | | |
| | | int deleteByExample(ShoppingCartProductExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(ShoppingCartProduct record); |
| | | |
| | | int insertSelective(ShoppingCartProduct record); |
| | | |
| | | List<ShoppingCartProduct> selectByExample(ShoppingCartProductExample example); |
| | | |
| | | ShoppingCartProduct selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") ShoppingCartProduct record, @Param("example") ShoppingCartProductExample example); |
| | | |
| | | int updateByExample(@Param("record") ShoppingCartProduct record, @Param("example") ShoppingCartProductExample example); |
| | | |
| | | int updateByPrimaryKeySelective(ShoppingCartProduct record); |
| | | |
| | | int updateByPrimaryKey(ShoppingCartProduct record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.ShoppingCartProductMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.ShoppingCartProduct"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="productid" jdbcType="VARCHAR" property="productid"/> |
| | | <result column="productcode" jdbcType="VARCHAR" property="productcode"/> |
| | | <result column="productname" jdbcType="VARCHAR" property="productname"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="color" jdbcType="VARCHAR" property="color"/> |
| | | <result column="size" jdbcType="VARCHAR" property="size"/> |
| | | <result column="count" jdbcType="INTEGER" property="count"/> |
| | | <result column="image" jdbcType="VARCHAR" property="image"/> |
| | | <result column="price" jdbcType="DECIMAL" property="price"/> |
| | | <result column="saleprice" jdbcType="DECIMAL" property="saleprice"/> |
| | | <result column="cartid" jdbcType="VARCHAR" property="cartid"/> |
| | | <result column="cartcode" jdbcType="VARCHAR" property="cartcode"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, isdeleted, remark, createtime, updatetime, productid, productcode, productname, |
| | | status, color, size, count, image, price, saleprice, cartid, cartcode |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.ShoppingCartProductExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from shopping_cart_product |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from shopping_cart_product |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from shopping_cart_product |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.ShoppingCartProductExample"> |
| | | delete from shopping_cart_product |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.ShoppingCartProduct"> |
| | | insert into shopping_cart_product (id, isdeleted, remark, |
| | | createtime, updatetime, productid, |
| | | productcode, productname, status, |
| | | color, size, count, |
| | | image, price, saleprice, |
| | | cartid, cartcode) |
| | | values (#{id,jdbcType=VARCHAR}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{productid,jdbcType=VARCHAR}, |
| | | #{productcode,jdbcType=VARCHAR}, #{productname,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, |
| | | #{color,jdbcType=VARCHAR}, #{size,jdbcType=VARCHAR}, #{count,jdbcType=INTEGER}, |
| | | #{image,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, #{saleprice,jdbcType=DECIMAL}, |
| | | #{cartid,jdbcType=VARCHAR}, #{cartcode,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.ShoppingCartProduct"> |
| | | insert into shopping_cart_product |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="productid != null"> |
| | | productid, |
| | | </if> |
| | | <if test="productcode != null"> |
| | | productcode, |
| | | </if> |
| | | <if test="productname != null"> |
| | | productname, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="color != null"> |
| | | color, |
| | | </if> |
| | | <if test="size != null"> |
| | | size, |
| | | </if> |
| | | <if test="count != null"> |
| | | count, |
| | | </if> |
| | | <if test="image != null"> |
| | | image, |
| | | </if> |
| | | <if test="price != null"> |
| | | price, |
| | | </if> |
| | | <if test="saleprice != null"> |
| | | saleprice, |
| | | </if> |
| | | <if test="cartid != null"> |
| | | cartid, |
| | | </if> |
| | | <if test="cartcode != null"> |
| | | cartcode, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="productid != null"> |
| | | #{productid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productcode != null"> |
| | | #{productcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productname != null"> |
| | | #{productname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="color != null"> |
| | | #{color,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="size != null"> |
| | | #{size,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="count != null"> |
| | | #{count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="image != null"> |
| | | #{image,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="price != null"> |
| | | #{price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="saleprice != null"> |
| | | #{saleprice,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="cartid != null"> |
| | | #{cartid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="cartcode != null"> |
| | | #{cartcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.ShoppingCartProductExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from shopping_cart_product |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update shopping_cart_product |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.productid != null"> |
| | | productid = #{record.productid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.productcode != null"> |
| | | productcode = #{record.productcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.productname != null"> |
| | | productname = #{record.productname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.color != null"> |
| | | color = #{record.color,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.size != null"> |
| | | size = #{record.size,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.count != null"> |
| | | count = #{record.count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.image != null"> |
| | | image = #{record.image,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.price != null"> |
| | | price = #{record.price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.saleprice != null"> |
| | | saleprice = #{record.saleprice,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.cartid != null"> |
| | | cartid = #{record.cartid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.cartcode != null"> |
| | | cartcode = #{record.cartcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update shopping_cart_product |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | productid = #{record.productid,jdbcType=VARCHAR}, |
| | | productcode = #{record.productcode,jdbcType=VARCHAR}, |
| | | productname = #{record.productname,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | color = #{record.color,jdbcType=VARCHAR}, |
| | | size = #{record.size,jdbcType=VARCHAR}, |
| | | count = #{record.count,jdbcType=INTEGER}, |
| | | image = #{record.image,jdbcType=VARCHAR}, |
| | | price = #{record.price,jdbcType=DECIMAL}, |
| | | saleprice = #{record.saleprice,jdbcType=DECIMAL}, |
| | | cartid = #{record.cartid,jdbcType=VARCHAR}, |
| | | cartcode = #{record.cartcode,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" |
| | | parameterType="com.farriver.bwf.data.master.model.ShoppingCartProduct"> |
| | | update shopping_cart_product |
| | | <set> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="productid != null"> |
| | | productid = #{productid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productcode != null"> |
| | | productcode = #{productcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="productname != null"> |
| | | productname = #{productname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="color != null"> |
| | | color = #{color,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="size != null"> |
| | | size = #{size,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="count != null"> |
| | | count = #{count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="image != null"> |
| | | image = #{image,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="price != null"> |
| | | price = #{price,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="saleprice != null"> |
| | | saleprice = #{saleprice,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="cartid != null"> |
| | | cartid = #{cartid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="cartcode != null"> |
| | | cartcode = #{cartcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.ShoppingCartProduct"> |
| | | update shopping_cart_product |
| | | set isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | productid = #{productid,jdbcType=VARCHAR}, |
| | | productcode = #{productcode,jdbcType=VARCHAR}, |
| | | productname = #{productname,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | color = #{color,jdbcType=VARCHAR}, |
| | | size = #{size,jdbcType=VARCHAR}, |
| | | count = #{count,jdbcType=INTEGER}, |
| | | image = #{image,jdbcType=VARCHAR}, |
| | | price = #{price,jdbcType=DECIMAL}, |
| | | saleprice = #{saleprice,jdbcType=DECIMAL}, |
| | | cartid = #{cartid,jdbcType=VARCHAR}, |
| | | cartcode = #{cartcode,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.SystemAuditTrail; |
| | | import com.farriver.bwf.data.master.model.SystemAuditTrailExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface SystemAuditTrailMapper { |
| | | long countByExample(SystemAuditTrailExample example); |
| | | |
| | | int deleteByExample(SystemAuditTrailExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(SystemAuditTrail record); |
| | | |
| | | int insertSelective(SystemAuditTrail record); |
| | | |
| | | List<SystemAuditTrail> selectByExample(SystemAuditTrailExample example); |
| | | |
| | | SystemAuditTrail selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") SystemAuditTrail record, @Param("example") SystemAuditTrailExample example); |
| | | |
| | | int updateByExample(@Param("record") SystemAuditTrail record, @Param("example") SystemAuditTrailExample example); |
| | | |
| | | int updateByPrimaryKeySelective(SystemAuditTrail record); |
| | | |
| | | int updateByPrimaryKey(SystemAuditTrail record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.SystemAuditTrailMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.SystemAuditTrail"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="message" jdbcType="VARCHAR" property="message"/> |
| | | <result column="actionby" jdbcType="VARCHAR" property="actionby"/> |
| | | <result column="actiontype" jdbcType="VARCHAR" property="actiontype"/> |
| | | <result column="actionip" jdbcType="VARCHAR" property="actionip"/> |
| | | <result column="actiontime" jdbcType="TIMESTAMP" property="actiontime"/> |
| | | <result column="module" jdbcType="VARCHAR" property="module"/> |
| | | <result column="beforetarget" jdbcType="VARCHAR" property="beforetarget"/> |
| | | <result column="aftertarget" jdbcType="VARCHAR" property="aftertarget"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , message, actionby, actiontype, actionip, actiontime, module, beforetarget, aftertarget, |
| | | isdeleted, remark, createtime, updatetime |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.SystemAuditTrailExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from system_audittrail |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from system_audittrail |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from system_audittrail |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.SystemAuditTrailExample"> |
| | | delete from system_audittrail |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.SystemAuditTrail"> |
| | | insert into system_audittrail (id, message, actionby, |
| | | actiontype, actionip, actiontime, |
| | | module, beforetarget, aftertarget, |
| | | isdeleted, remark, createtime, |
| | | updatetime) |
| | | values (#{id,jdbcType=VARCHAR}, #{message,jdbcType=VARCHAR}, #{actionby,jdbcType=VARCHAR}, |
| | | #{actiontype,jdbcType=VARCHAR}, #{actionip,jdbcType=VARCHAR}, #{actiontime,jdbcType=TIMESTAMP}, |
| | | #{module,jdbcType=VARCHAR}, #{beforetarget,jdbcType=VARCHAR}, #{aftertarget,jdbcType=VARCHAR}, |
| | | #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, |
| | | #{updatetime,jdbcType=TIMESTAMP}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.SystemAuditTrail"> |
| | | insert into system_audittrail |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="message != null"> |
| | | message, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | actionby, |
| | | </if> |
| | | <if test="actiontype != null"> |
| | | actiontype, |
| | | </if> |
| | | <if test="actionip != null"> |
| | | actionip, |
| | | </if> |
| | | <if test="actiontime != null"> |
| | | actiontime, |
| | | </if> |
| | | <if test="module != null"> |
| | | module, |
| | | </if> |
| | | <if test="beforetarget != null"> |
| | | beforetarget, |
| | | </if> |
| | | <if test="aftertarget != null"> |
| | | aftertarget, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="message != null"> |
| | | #{message,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | #{actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="actiontype != null"> |
| | | #{actiontype,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="actionip != null"> |
| | | #{actionip,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="actiontime != null"> |
| | | #{actiontime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="module != null"> |
| | | #{module,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="beforetarget != null"> |
| | | #{beforetarget,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="aftertarget != null"> |
| | | #{aftertarget,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.SystemAuditTrailExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from system_audittrail |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update system_audittrail |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.message != null"> |
| | | message = #{record.message,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.actionby != null"> |
| | | actionby = #{record.actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.actiontype != null"> |
| | | actiontype = #{record.actiontype,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.actionip != null"> |
| | | actionip = #{record.actionip,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.actiontime != null"> |
| | | actiontime = #{record.actiontime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.module != null"> |
| | | module = #{record.module,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.beforetarget != null"> |
| | | beforetarget = #{record.beforetarget,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.aftertarget != null"> |
| | | aftertarget = #{record.aftertarget,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update system_audittrail |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | message = #{record.message,jdbcType=VARCHAR}, |
| | | actionby = #{record.actionby,jdbcType=VARCHAR}, |
| | | actiontype = #{record.actiontype,jdbcType=VARCHAR}, |
| | | actionip = #{record.actionip,jdbcType=VARCHAR}, |
| | | actiontime = #{record.actiontime,jdbcType=TIMESTAMP}, |
| | | module = #{record.module,jdbcType=VARCHAR}, |
| | | beforetarget = #{record.beforetarget,jdbcType=VARCHAR}, |
| | | aftertarget = #{record.aftertarget,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.SystemAuditTrail"> |
| | | update system_audittrail |
| | | <set> |
| | | <if test="message != null"> |
| | | message = #{message,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | actionby = #{actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="actiontype != null"> |
| | | actiontype = #{actiontype,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="actionip != null"> |
| | | actionip = #{actionip,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="actiontime != null"> |
| | | actiontime = #{actiontime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="module != null"> |
| | | module = #{module,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="beforetarget != null"> |
| | | beforetarget = #{beforetarget,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="aftertarget != null"> |
| | | aftertarget = #{aftertarget,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.SystemAuditTrail"> |
| | | update system_audittrail |
| | | set message = #{message,jdbcType=VARCHAR}, |
| | | actionby = #{actionby,jdbcType=VARCHAR}, |
| | | actiontype = #{actiontype,jdbcType=VARCHAR}, |
| | | actionip = #{actionip,jdbcType=VARCHAR}, |
| | | actiontime = #{actiontime,jdbcType=TIMESTAMP}, |
| | | module = #{module,jdbcType=VARCHAR}, |
| | | beforetarget = #{beforetarget,jdbcType=VARCHAR}, |
| | | aftertarget = #{aftertarget,jdbcType=VARCHAR}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.SystemConfig; |
| | | import com.farriver.bwf.data.master.model.SystemConfigExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface SystemConfigMapper { |
| | | long countByExample(SystemConfigExample example); |
| | | |
| | | int deleteByExample(SystemConfigExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(SystemConfig record); |
| | | |
| | | int insertSelective(SystemConfig record); |
| | | |
| | | List<SystemConfig> selectByExample(SystemConfigExample example); |
| | | |
| | | SystemConfig selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") SystemConfig record, @Param("example") SystemConfigExample example); |
| | | |
| | | int updateByExample(@Param("record") SystemConfig record, @Param("example") SystemConfigExample example); |
| | | |
| | | int updateByPrimaryKeySelective(SystemConfig record); |
| | | |
| | | int updateByPrimaryKey(SystemConfig record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.SystemConfigMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.SystemConfig"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="ckey" jdbcType="VARCHAR" property="ckey"/> |
| | | <result column="cvalue" jdbcType="VARCHAR" property="cvalue"/> |
| | | <result column="clevel" jdbcType="VARCHAR" property="clevel"/> |
| | | <result column="category" jdbcType="VARCHAR" property="category"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , ckey, cvalue, clevel, category, isdeleted, remark, createtime, updatetime |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.SystemConfigExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from system_config |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from system_config |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from system_config |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.SystemConfigExample"> |
| | | delete from system_config |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.SystemConfig"> |
| | | insert into system_config (id, ckey, cvalue, |
| | | clevel, category, isdeleted, |
| | | remark, createtime, updatetime) |
| | | values (#{id,jdbcType=VARCHAR}, #{ckey,jdbcType=VARCHAR}, #{cvalue,jdbcType=VARCHAR}, |
| | | #{clevel,jdbcType=VARCHAR}, #{category,jdbcType=VARCHAR}, #{isdeleted,jdbcType=BIT}, |
| | | #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.SystemConfig"> |
| | | insert into system_config |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="ckey != null"> |
| | | ckey, |
| | | </if> |
| | | <if test="cvalue != null"> |
| | | cvalue, |
| | | </if> |
| | | <if test="clevel != null"> |
| | | clevel, |
| | | </if> |
| | | <if test="category != null"> |
| | | category, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="ckey != null"> |
| | | #{ckey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="cvalue != null"> |
| | | #{cvalue,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="clevel != null"> |
| | | #{clevel,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="category != null"> |
| | | #{category,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.SystemConfigExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from system_config |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update system_config |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.ckey != null"> |
| | | ckey = #{record.ckey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.cvalue != null"> |
| | | cvalue = #{record.cvalue,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.clevel != null"> |
| | | clevel = #{record.clevel,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.category != null"> |
| | | category = #{record.category,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update system_config |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | ckey = #{record.ckey,jdbcType=VARCHAR}, |
| | | cvalue = #{record.cvalue,jdbcType=VARCHAR}, |
| | | clevel = #{record.clevel,jdbcType=VARCHAR}, |
| | | category = #{record.category,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.SystemConfig"> |
| | | update system_config |
| | | <set> |
| | | <if test="ckey != null"> |
| | | ckey = #{ckey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="cvalue != null"> |
| | | cvalue = #{cvalue,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="clevel != null"> |
| | | clevel = #{clevel,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="category != null"> |
| | | category = #{category,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.SystemConfig"> |
| | | update system_config |
| | | set ckey = #{ckey,jdbcType=VARCHAR}, |
| | | cvalue = #{cvalue,jdbcType=VARCHAR}, |
| | | clevel = #{clevel,jdbcType=VARCHAR}, |
| | | category = #{category,jdbcType=VARCHAR}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.SystemMailLog; |
| | | import com.farriver.bwf.data.master.model.SystemMailLogExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface SystemMailLogMapper { |
| | | long countByExample(SystemMailLogExample example); |
| | | |
| | | int deleteByExample(SystemMailLogExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(SystemMailLog record); |
| | | |
| | | int insertSelective(SystemMailLog record); |
| | | |
| | | List<SystemMailLog> selectByExample(SystemMailLogExample example); |
| | | |
| | | SystemMailLog selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") SystemMailLog record, @Param("example") SystemMailLogExample example); |
| | | |
| | | int updateByExample(@Param("record") SystemMailLog record, @Param("example") SystemMailLogExample example); |
| | | |
| | | int updateByPrimaryKeySelective(SystemMailLog record); |
| | | |
| | | int updateByPrimaryKey(SystemMailLog record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.SystemMailLogMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.SystemMailLog"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="uid" jdbcType="VARCHAR" property="uid"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="routeKey" jdbcType="VARCHAR" property="routekey"/> |
| | | <result column="exchange" jdbcType="VARCHAR" property="exchange"/> |
| | | <result column="count" jdbcType="INTEGER" property="count"/> |
| | | <result column="tryTime" jdbcType="TIMESTAMP" property="trytime"/> |
| | | <result column="createTime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updateTime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="username" jdbcType="VARCHAR" property="username"/> |
| | | <result column="account" jdbcType="VARCHAR" property="account"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , uid, status, routeKey, exchange, count, tryTime, createTime, updateTime, username, |
| | | account |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.SystemMailLogExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from system_mail_log |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from system_mail_log |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from system_mail_log |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.SystemMailLogExample"> |
| | | delete from system_mail_log |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.SystemMailLog"> |
| | | insert into system_mail_log (id, uid, status, |
| | | routeKey, exchange, count, |
| | | tryTime, createTime, updateTime, |
| | | username, account) |
| | | values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, |
| | | #{routekey,jdbcType=VARCHAR}, #{exchange,jdbcType=VARCHAR}, #{count,jdbcType=INTEGER}, |
| | | #{trytime,jdbcType=TIMESTAMP}, #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, |
| | | #{username,jdbcType=VARCHAR}, #{account,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.SystemMailLog"> |
| | | insert into system_mail_log |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="uid != null"> |
| | | uid, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="routekey != null"> |
| | | routeKey, |
| | | </if> |
| | | <if test="exchange != null"> |
| | | exchange, |
| | | </if> |
| | | <if test="count != null"> |
| | | count, |
| | | </if> |
| | | <if test="trytime != null"> |
| | | tryTime, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createTime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updateTime, |
| | | </if> |
| | | <if test="username != null"> |
| | | username, |
| | | </if> |
| | | <if test="account != null"> |
| | | account, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="uid != null"> |
| | | #{uid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="routekey != null"> |
| | | #{routekey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="exchange != null"> |
| | | #{exchange,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="count != null"> |
| | | #{count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="trytime != null"> |
| | | #{trytime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="username != null"> |
| | | #{username,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="account != null"> |
| | | #{account,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.SystemMailLogExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from system_mail_log |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update system_mail_log |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.uid != null"> |
| | | uid = #{record.uid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.routekey != null"> |
| | | routeKey = #{record.routekey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.exchange != null"> |
| | | exchange = #{record.exchange,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.count != null"> |
| | | count = #{record.count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.trytime != null"> |
| | | tryTime = #{record.trytime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createTime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updateTime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.username != null"> |
| | | username = #{record.username,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.account != null"> |
| | | account = #{record.account,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update system_mail_log |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | uid = #{record.uid,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | routeKey = #{record.routekey,jdbcType=VARCHAR}, |
| | | exchange = #{record.exchange,jdbcType=VARCHAR}, |
| | | count = #{record.count,jdbcType=INTEGER}, |
| | | tryTime = #{record.trytime,jdbcType=TIMESTAMP}, |
| | | createTime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updateTime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | username = #{record.username,jdbcType=VARCHAR}, |
| | | account = #{record.account,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.SystemMailLog"> |
| | | update system_mail_log |
| | | <set> |
| | | <if test="uid != null"> |
| | | uid = #{uid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="routekey != null"> |
| | | routeKey = #{routekey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="exchange != null"> |
| | | exchange = #{exchange,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="count != null"> |
| | | count = #{count,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="trytime != null"> |
| | | tryTime = #{trytime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createTime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updateTime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="username != null"> |
| | | username = #{username,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="account != null"> |
| | | account = #{account,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.SystemMailLog"> |
| | | update system_mail_log |
| | | set uid = #{uid,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | routeKey = #{routekey,jdbcType=VARCHAR}, |
| | | exchange = #{exchange,jdbcType=VARCHAR}, |
| | | count = #{count,jdbcType=INTEGER}, |
| | | tryTime = #{trytime,jdbcType=TIMESTAMP}, |
| | | createTime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updateTime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | username = #{username,jdbcType=VARCHAR}, |
| | | account = #{account,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.SystemMenu; |
| | | import com.farriver.bwf.data.master.model.SystemMenuExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface SystemMenuMapper { |
| | | long countByExample(SystemMenuExample example); |
| | | |
| | | int deleteByExample(SystemMenuExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(SystemMenu record); |
| | | |
| | | int insertSelective(SystemMenu record); |
| | | |
| | | List<SystemMenu> selectByExample(SystemMenuExample example); |
| | | |
| | | SystemMenu selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") SystemMenu record, @Param("example") SystemMenuExample example); |
| | | |
| | | int updateByExample(@Param("record") SystemMenu record, @Param("example") SystemMenuExample example); |
| | | |
| | | int updateByPrimaryKeySelective(SystemMenu record); |
| | | |
| | | int updateByPrimaryKey(SystemMenu record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.SystemMenuMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.SystemMenu"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="code" jdbcType="VARCHAR" property="code"/> |
| | | <result column="name" jdbcType="VARCHAR" property="name"/> |
| | | <result column="url" jdbcType="VARCHAR" property="url"/> |
| | | <result column="path" jdbcType="VARCHAR" property="path"/> |
| | | <result column="component" jdbcType="VARCHAR" property="component"/> |
| | | <result column="type" jdbcType="INTEGER" property="type"/> |
| | | <result column="icon" jdbcType="VARCHAR" property="icon"/> |
| | | <result column="parentid" jdbcType="VARCHAR" property="parentid"/> |
| | | <result column="keepalive" jdbcType="BIT" property="keepalive"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="level" jdbcType="INTEGER" property="level"/> |
| | | <result column="languagekey" jdbcType="VARCHAR" property="languagekey"/> |
| | | <result column="parentcode" jdbcType="VARCHAR" property="parentcode"/> |
| | | <result column="parentname" jdbcType="VARCHAR" property="parentname"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , code, name, url, path, component, type, icon, parentid, keepalive, isdeleted, |
| | | remark, createtime, updatetime, level, languagekey, parentcode, parentname |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.SystemMenuExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from system_menu |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from system_menu |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from system_menu |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.SystemMenuExample"> |
| | | delete from system_menu |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.SystemMenu"> |
| | | insert into system_menu (id, code, name, |
| | | url, path, component, |
| | | type, icon, parentid, |
| | | keepalive, isdeleted, remark, |
| | | createtime, updatetime, level, |
| | | languagekey, parentcode, parentname) |
| | | values (#{id,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, |
| | | #{url,jdbcType=VARCHAR}, #{path,jdbcType=VARCHAR}, #{component,jdbcType=VARCHAR}, |
| | | #{type,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, #{parentid,jdbcType=VARCHAR}, |
| | | #{keepalive,jdbcType=BIT}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{level,jdbcType=INTEGER}, |
| | | #{languagekey,jdbcType=VARCHAR}, #{parentcode,jdbcType=VARCHAR}, #{parentname,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.SystemMenu"> |
| | | insert into system_menu |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="name != null"> |
| | | name, |
| | | </if> |
| | | <if test="url != null"> |
| | | url, |
| | | </if> |
| | | <if test="path != null"> |
| | | path, |
| | | </if> |
| | | <if test="component != null"> |
| | | component, |
| | | </if> |
| | | <if test="type != null"> |
| | | type, |
| | | </if> |
| | | <if test="icon != null"> |
| | | icon, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid, |
| | | </if> |
| | | <if test="keepalive != null"> |
| | | keepalive, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="level != null"> |
| | | level, |
| | | </if> |
| | | <if test="languagekey != null"> |
| | | languagekey, |
| | | </if> |
| | | <if test="parentcode != null"> |
| | | parentcode, |
| | | </if> |
| | | <if test="parentname != null"> |
| | | parentname, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="url != null"> |
| | | #{url,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="path != null"> |
| | | #{path,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="component != null"> |
| | | #{component,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="type != null"> |
| | | #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="icon != null"> |
| | | #{icon,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="keepalive != null"> |
| | | #{keepalive,jdbcType=BIT}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="level != null"> |
| | | #{level,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="languagekey != null"> |
| | | #{languagekey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentcode != null"> |
| | | #{parentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentname != null"> |
| | | #{parentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.SystemMenuExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from system_menu |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update system_menu |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.name != null"> |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.url != null"> |
| | | url = #{record.url,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.path != null"> |
| | | path = #{record.path,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.component != null"> |
| | | component = #{record.component,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.type != null"> |
| | | type = #{record.type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.icon != null"> |
| | | icon = #{record.icon,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentid != null"> |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.keepalive != null"> |
| | | keepalive = #{record.keepalive,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.level != null"> |
| | | level = #{record.level,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.languagekey != null"> |
| | | languagekey = #{record.languagekey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentcode != null"> |
| | | parentcode = #{record.parentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.parentname != null"> |
| | | parentname = #{record.parentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update system_menu |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | name = #{record.name,jdbcType=VARCHAR}, |
| | | url = #{record.url,jdbcType=VARCHAR}, |
| | | path = #{record.path,jdbcType=VARCHAR}, |
| | | component = #{record.component,jdbcType=VARCHAR}, |
| | | type = #{record.type,jdbcType=INTEGER}, |
| | | icon = #{record.icon,jdbcType=VARCHAR}, |
| | | parentid = #{record.parentid,jdbcType=VARCHAR}, |
| | | keepalive = #{record.keepalive,jdbcType=BIT}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | level = #{record.level,jdbcType=INTEGER}, |
| | | languagekey = #{record.languagekey,jdbcType=VARCHAR}, |
| | | parentcode = #{record.parentcode,jdbcType=VARCHAR}, |
| | | parentname = #{record.parentname,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.SystemMenu"> |
| | | update system_menu |
| | | <set> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="name != null"> |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="url != null"> |
| | | url = #{url,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="path != null"> |
| | | path = #{path,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="component != null"> |
| | | component = #{component,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="type != null"> |
| | | type = #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="icon != null"> |
| | | icon = #{icon,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentid != null"> |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="keepalive != null"> |
| | | keepalive = #{keepalive,jdbcType=BIT}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="level != null"> |
| | | level = #{level,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="languagekey != null"> |
| | | languagekey = #{languagekey,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentcode != null"> |
| | | parentcode = #{parentcode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="parentname != null"> |
| | | parentname = #{parentname,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.SystemMenu"> |
| | | update system_menu |
| | | set code = #{code,jdbcType=VARCHAR}, |
| | | name = #{name,jdbcType=VARCHAR}, |
| | | url = #{url,jdbcType=VARCHAR}, |
| | | path = #{path,jdbcType=VARCHAR}, |
| | | component = #{component,jdbcType=VARCHAR}, |
| | | type = #{type,jdbcType=INTEGER}, |
| | | icon = #{icon,jdbcType=VARCHAR}, |
| | | parentid = #{parentid,jdbcType=VARCHAR}, |
| | | keepalive = #{keepalive,jdbcType=BIT}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | level = #{level,jdbcType=INTEGER}, |
| | | languagekey = #{languagekey,jdbcType=VARCHAR}, |
| | | parentcode = #{parentcode,jdbcType=VARCHAR}, |
| | | parentname = #{parentname,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.SystemNotification; |
| | | import com.farriver.bwf.data.master.model.SystemNotificationExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface SystemNotificationMapper { |
| | | long countByExample(SystemNotificationExample example); |
| | | |
| | | int deleteByExample(SystemNotificationExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(SystemNotification record); |
| | | |
| | | int insertSelective(SystemNotification record); |
| | | |
| | | List<SystemNotification> selectByExampleWithBLOBs(SystemNotificationExample example); |
| | | |
| | | List<SystemNotification> selectByExample(SystemNotificationExample example); |
| | | |
| | | SystemNotification selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") SystemNotification record, @Param("example") SystemNotificationExample example); |
| | | |
| | | int updateByExampleWithBLOBs(@Param("record") SystemNotification record, @Param("example") SystemNotificationExample example); |
| | | |
| | | int updateByExample(@Param("record") SystemNotification record, @Param("example") SystemNotificationExample example); |
| | | |
| | | int updateByPrimaryKeySelective(SystemNotification record); |
| | | |
| | | int updateByPrimaryKeyWithBLOBs(SystemNotification record); |
| | | |
| | | int updateByPrimaryKey(SystemNotification record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.SystemNotificationMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.SystemNotification"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="title" jdbcType="VARCHAR" property="title"/> |
| | | <result column="department" jdbcType="VARCHAR" property="department"/> |
| | | <result column="category" jdbcType="VARCHAR" property="category"/> |
| | | <result column="nlevel" jdbcType="INTEGER" property="nlevel"/> |
| | | <result column="keywords" jdbcType="VARCHAR" property="keywords"/> |
| | | <result column="actionby" jdbcType="VARCHAR" property="actionby"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="publisher" jdbcType="VARCHAR" property="publisher"/> |
| | | <result column="publishdatetime" jdbcType="TIMESTAMP" property="publishdatetime"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | </resultMap> |
| | | <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" |
| | | type="com.farriver.bwf.data.master.model.SystemNotification"> |
| | | <result column="context" jdbcType="LONGVARCHAR" property="context"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | , title, department, category, nlevel, keywords, actionby, status, publisher, publishdatetime, |
| | | isdeleted, remark, createtime, updatetime |
| | | </sql> |
| | | <sql id="Blob_Column_List"> |
| | | context |
| | | </sql> |
| | | <select id="selectByExampleWithBLOBs" parameterType="com.farriver.bwf.data.master.model.SystemNotificationExample" |
| | | resultMap="ResultMapWithBLOBs"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | , |
| | | <include refid="Blob_Column_List"/> |
| | | from system_notification |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.SystemNotificationExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from system_notification |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | , |
| | | <include refid="Blob_Column_List"/> |
| | | from system_notification |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete |
| | | from system_notification |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.SystemNotificationExample"> |
| | | delete from system_notification |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.SystemNotification"> |
| | | insert into system_notification (id, title, department, |
| | | category, nlevel, keywords, |
| | | actionby, status, publisher, |
| | | publishdatetime, isdeleted, remark, |
| | | createtime, updatetime, context) |
| | | values (#{id,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{department,jdbcType=VARCHAR}, |
| | | #{category,jdbcType=VARCHAR}, #{nlevel,jdbcType=INTEGER}, #{keywords,jdbcType=VARCHAR}, |
| | | #{actionby,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{publisher,jdbcType=VARCHAR}, |
| | | #{publishdatetime,jdbcType=TIMESTAMP}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{context,jdbcType=LONGVARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.SystemNotification"> |
| | | insert into system_notification |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="title != null"> |
| | | title, |
| | | </if> |
| | | <if test="department != null"> |
| | | department, |
| | | </if> |
| | | <if test="category != null"> |
| | | category, |
| | | </if> |
| | | <if test="nlevel != null"> |
| | | nlevel, |
| | | </if> |
| | | <if test="keywords != null"> |
| | | keywords, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | actionby, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="publisher != null"> |
| | | publisher, |
| | | </if> |
| | | <if test="publishdatetime != null"> |
| | | publishdatetime, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="context != null"> |
| | | context, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="title != null"> |
| | | #{title,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="department != null"> |
| | | #{department,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="category != null"> |
| | | #{category,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="nlevel != null"> |
| | | #{nlevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="keywords != null"> |
| | | #{keywords,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | #{actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="publisher != null"> |
| | | #{publisher,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="publishdatetime != null"> |
| | | #{publishdatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="context != null"> |
| | | #{context,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.SystemNotificationExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from system_notification |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update system_notification |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.title != null"> |
| | | title = #{record.title,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.department != null"> |
| | | department = #{record.department,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.category != null"> |
| | | category = #{record.category,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.nlevel != null"> |
| | | nlevel = #{record.nlevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.keywords != null"> |
| | | keywords = #{record.keywords,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.actionby != null"> |
| | | actionby = #{record.actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.publisher != null"> |
| | | publisher = #{record.publisher,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.publishdatetime != null"> |
| | | publishdatetime = #{record.publishdatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.context != null"> |
| | | context = #{record.context,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExampleWithBLOBs" parameterType="map"> |
| | | update system_notification |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | title = #{record.title,jdbcType=VARCHAR}, |
| | | department = #{record.department,jdbcType=VARCHAR}, |
| | | category = #{record.category,jdbcType=VARCHAR}, |
| | | nlevel = #{record.nlevel,jdbcType=INTEGER}, |
| | | keywords = #{record.keywords,jdbcType=VARCHAR}, |
| | | actionby = #{record.actionby,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | publisher = #{record.publisher,jdbcType=VARCHAR}, |
| | | publishdatetime = #{record.publishdatetime,jdbcType=TIMESTAMP}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | context = #{record.context,jdbcType=LONGVARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update system_notification |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | title = #{record.title,jdbcType=VARCHAR}, |
| | | department = #{record.department,jdbcType=VARCHAR}, |
| | | category = #{record.category,jdbcType=VARCHAR}, |
| | | nlevel = #{record.nlevel,jdbcType=INTEGER}, |
| | | keywords = #{record.keywords,jdbcType=VARCHAR}, |
| | | actionby = #{record.actionby,jdbcType=VARCHAR}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | publisher = #{record.publisher,jdbcType=VARCHAR}, |
| | | publishdatetime = #{record.publishdatetime,jdbcType=TIMESTAMP}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.SystemNotification"> |
| | | update system_notification |
| | | <set> |
| | | <if test="title != null"> |
| | | title = #{title,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="department != null"> |
| | | department = #{department,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="category != null"> |
| | | category = #{category,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="nlevel != null"> |
| | | nlevel = #{nlevel,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="keywords != null"> |
| | | keywords = #{keywords,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="actionby != null"> |
| | | actionby = #{actionby,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="publisher != null"> |
| | | publisher = #{publisher,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="publishdatetime != null"> |
| | | publishdatetime = #{publishdatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="context != null"> |
| | | context = #{context,jdbcType=LONGVARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.farriver.bwf.data.master.model.SystemNotification"> |
| | | update system_notification |
| | | set title = #{title,jdbcType=VARCHAR}, |
| | | department = #{department,jdbcType=VARCHAR}, |
| | | category = #{category,jdbcType=VARCHAR}, |
| | | nlevel = #{nlevel,jdbcType=INTEGER}, |
| | | keywords = #{keywords,jdbcType=VARCHAR}, |
| | | actionby = #{actionby,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | publisher = #{publisher,jdbcType=VARCHAR}, |
| | | publishdatetime = #{publishdatetime,jdbcType=TIMESTAMP}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | context = #{context,jdbcType=LONGVARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.SystemNotification"> |
| | | update system_notification |
| | | set title = #{title,jdbcType=VARCHAR}, |
| | | department = #{department,jdbcType=VARCHAR}, |
| | | category = #{category,jdbcType=VARCHAR}, |
| | | nlevel = #{nlevel,jdbcType=INTEGER}, |
| | | keywords = #{keywords,jdbcType=VARCHAR}, |
| | | actionby = #{actionby,jdbcType=VARCHAR}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | publisher = #{publisher,jdbcType=VARCHAR}, |
| | | publishdatetime = #{publishdatetime,jdbcType=TIMESTAMP}, |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.VIPCouponActive; |
| | | import com.farriver.bwf.data.master.model.VIPCouponActiveExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface VIPCouponActiveMapper { |
| | | long countByExample(VIPCouponActiveExample example); |
| | | |
| | | int deleteByExample(VIPCouponActiveExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(VIPCouponActive record); |
| | | |
| | | int insertSelective(VIPCouponActive record); |
| | | |
| | | List<VIPCouponActive> selectByExample(VIPCouponActiveExample example); |
| | | |
| | | VIPCouponActive selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") VIPCouponActive record, @Param("example") VIPCouponActiveExample example); |
| | | |
| | | int updateByExample(@Param("record") VIPCouponActive record, @Param("example") VIPCouponActiveExample example); |
| | | |
| | | int updateByPrimaryKeySelective(VIPCouponActive record); |
| | | |
| | | int updateByPrimaryKey(VIPCouponActive record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.VIPCouponActiveMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.VIPCouponActive"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="type" jdbcType="INTEGER" property="type"/> |
| | | <result column="activityname" jdbcType="VARCHAR" property="activityname"/> |
| | | <result column="code" jdbcType="VARCHAR" property="code"/> |
| | | <result column="distributioncondition" jdbcType="VARCHAR" property="distributioncondition"/> |
| | | <result column="amount" jdbcType="DECIMAL" property="amount"/> |
| | | <result column="discount" jdbcType="DECIMAL" property="discount"/> |
| | | <result column="discountrate" jdbcType="DECIMAL" property="discountrate"/> |
| | | <result column="validdatefrom" jdbcType="TIMESTAMP" property="validdatefrom"/> |
| | | <result column="validdateto" jdbcType="TIMESTAMP" property="validdateto"/> |
| | | <result column="issuingtime" jdbcType="TIMESTAMP" property="issuingtime"/> |
| | | <result column="usagetime" jdbcType="TIMESTAMP" property="usagetime"/> |
| | | <result column="orderno" jdbcType="VARCHAR" property="orderno"/> |
| | | <result column="masterid" jdbcType="VARCHAR" property="masterid"/> |
| | | <result column="mastercode" jdbcType="VARCHAR" property="mastercode"/> |
| | | <result column="mastername" jdbcType="VARCHAR" property="mastername"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, isdeleted, remark, createtime, updatetime, status, type, activityname, code, |
| | | distributioncondition, amount, discount, discountrate, validdatefrom, validdateto, |
| | | issuingtime, usagetime, orderno, masterid, mastercode, mastername |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.VIPCouponActiveExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from vip_coupon_active |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from vip_coupon_active |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from vip_coupon_active |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.VIPCouponActiveExample"> |
| | | delete from vip_coupon_active |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.VIPCouponActive"> |
| | | insert into vip_coupon_active (id, isdeleted, remark, |
| | | createtime, updatetime, status, |
| | | type, activityname, code, |
| | | distributioncondition, amount, discount, |
| | | discountrate, validdatefrom, validdateto, |
| | | issuingtime, usagetime, orderno, |
| | | masterid, mastercode, mastername |
| | | ) |
| | | values (#{id,jdbcType=VARCHAR}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, |
| | | #{type,jdbcType=INTEGER}, #{activityname,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, |
| | | #{distributioncondition,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{discount,jdbcType=DECIMAL}, |
| | | #{discountrate,jdbcType=DECIMAL}, #{validdatefrom,jdbcType=TIMESTAMP}, #{validdateto,jdbcType=TIMESTAMP}, |
| | | #{issuingtime,jdbcType=TIMESTAMP}, #{usagetime,jdbcType=TIMESTAMP}, #{orderno,jdbcType=VARCHAR}, |
| | | #{masterid,jdbcType=VARCHAR}, #{mastercode,jdbcType=VARCHAR}, #{mastername,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.VIPCouponActive"> |
| | | insert into vip_coupon_active |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="type != null"> |
| | | type, |
| | | </if> |
| | | <if test="activityname != null"> |
| | | activityname, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="distributioncondition != null"> |
| | | distributioncondition, |
| | | </if> |
| | | <if test="amount != null"> |
| | | amount, |
| | | </if> |
| | | <if test="discount != null"> |
| | | discount, |
| | | </if> |
| | | <if test="discountrate != null"> |
| | | discountrate, |
| | | </if> |
| | | <if test="validdatefrom != null"> |
| | | validdatefrom, |
| | | </if> |
| | | <if test="validdateto != null"> |
| | | validdateto, |
| | | </if> |
| | | <if test="issuingtime != null"> |
| | | issuingtime, |
| | | </if> |
| | | <if test="usagetime != null"> |
| | | usagetime, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | orderno, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | masterid, |
| | | </if> |
| | | <if test="mastercode != null"> |
| | | mastercode, |
| | | </if> |
| | | <if test="mastername != null"> |
| | | mastername, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="type != null"> |
| | | #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="activityname != null"> |
| | | #{activityname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="distributioncondition != null"> |
| | | #{distributioncondition,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="amount != null"> |
| | | #{amount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discount != null"> |
| | | #{discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discountrate != null"> |
| | | #{discountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="validdatefrom != null"> |
| | | #{validdatefrom,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="validdateto != null"> |
| | | #{validdateto,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="issuingtime != null"> |
| | | #{issuingtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="usagetime != null"> |
| | | #{usagetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | #{orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | #{masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="mastercode != null"> |
| | | #{mastercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="mastername != null"> |
| | | #{mastername,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.VIPCouponActiveExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from vip_coupon_active |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update vip_coupon_active |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.type != null"> |
| | | type = #{record.type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.activityname != null"> |
| | | activityname = #{record.activityname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.distributioncondition != null"> |
| | | distributioncondition = #{record.distributioncondition,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.amount != null"> |
| | | amount = #{record.amount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.discount != null"> |
| | | discount = #{record.discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.discountrate != null"> |
| | | discountrate = #{record.discountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.validdatefrom != null"> |
| | | validdatefrom = #{record.validdatefrom,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.validdateto != null"> |
| | | validdateto = #{record.validdateto,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.issuingtime != null"> |
| | | issuingtime = #{record.issuingtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.usagetime != null"> |
| | | usagetime = #{record.usagetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.orderno != null"> |
| | | orderno = #{record.orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.masterid != null"> |
| | | masterid = #{record.masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.mastercode != null"> |
| | | mastercode = #{record.mastercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.mastername != null"> |
| | | mastername = #{record.mastername,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update vip_coupon_active |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | type = #{record.type,jdbcType=INTEGER}, |
| | | activityname = #{record.activityname,jdbcType=VARCHAR}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | distributioncondition = #{record.distributioncondition,jdbcType=VARCHAR}, |
| | | amount = #{record.amount,jdbcType=DECIMAL}, |
| | | discount = #{record.discount,jdbcType=DECIMAL}, |
| | | discountrate = #{record.discountrate,jdbcType=DECIMAL}, |
| | | validdatefrom = #{record.validdatefrom,jdbcType=TIMESTAMP}, |
| | | validdateto = #{record.validdateto,jdbcType=TIMESTAMP}, |
| | | issuingtime = #{record.issuingtime,jdbcType=TIMESTAMP}, |
| | | usagetime = #{record.usagetime,jdbcType=TIMESTAMP}, |
| | | orderno = #{record.orderno,jdbcType=VARCHAR}, |
| | | masterid = #{record.masterid,jdbcType=VARCHAR}, |
| | | mastercode = #{record.mastercode,jdbcType=VARCHAR}, |
| | | mastername = #{record.mastername,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.VIPCouponActive"> |
| | | update vip_coupon_active |
| | | <set> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="type != null"> |
| | | type = #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="activityname != null"> |
| | | activityname = #{activityname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="distributioncondition != null"> |
| | | distributioncondition = #{distributioncondition,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="amount != null"> |
| | | amount = #{amount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discount != null"> |
| | | discount = #{discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discountrate != null"> |
| | | discountrate = #{discountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="validdatefrom != null"> |
| | | validdatefrom = #{validdatefrom,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="validdateto != null"> |
| | | validdateto = #{validdateto,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="issuingtime != null"> |
| | | issuingtime = #{issuingtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="usagetime != null"> |
| | | usagetime = #{usagetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | orderno = #{orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | masterid = #{masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="mastercode != null"> |
| | | mastercode = #{mastercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="mastername != null"> |
| | | mastername = #{mastername,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.VIPCouponActive"> |
| | | update vip_coupon_active |
| | | set isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | type = #{type,jdbcType=INTEGER}, |
| | | activityname = #{activityname,jdbcType=VARCHAR}, |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | distributioncondition = #{distributioncondition,jdbcType=VARCHAR}, |
| | | amount = #{amount,jdbcType=DECIMAL}, |
| | | discount = #{discount,jdbcType=DECIMAL}, |
| | | discountrate = #{discountrate,jdbcType=DECIMAL}, |
| | | validdatefrom = #{validdatefrom,jdbcType=TIMESTAMP}, |
| | | validdateto = #{validdateto,jdbcType=TIMESTAMP}, |
| | | issuingtime = #{issuingtime,jdbcType=TIMESTAMP}, |
| | | usagetime = #{usagetime,jdbcType=TIMESTAMP}, |
| | | orderno = #{orderno,jdbcType=VARCHAR}, |
| | | masterid = #{masterid,jdbcType=VARCHAR}, |
| | | mastercode = #{mastercode,jdbcType=VARCHAR}, |
| | | mastername = #{mastername,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| New file |
| | |
| | | package com.farriver.bwf.data.master.mapper; |
| | | |
| | | import com.farriver.bwf.data.master.model.VIPCouponHistory; |
| | | import com.farriver.bwf.data.master.model.VIPCouponHistoryExample; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface VIPCouponHistoryMapper { |
| | | long countByExample(VIPCouponHistoryExample example); |
| | | |
| | | int deleteByExample(VIPCouponHistoryExample example); |
| | | |
| | | int deleteByPrimaryKey(String id); |
| | | |
| | | int insert(VIPCouponHistory record); |
| | | |
| | | int insertSelective(VIPCouponHistory record); |
| | | |
| | | List<VIPCouponHistory> selectByExample(VIPCouponHistoryExample example); |
| | | |
| | | VIPCouponHistory selectByPrimaryKey(String id); |
| | | |
| | | int updateByExampleSelective(@Param("record") VIPCouponHistory record, @Param("example") VIPCouponHistoryExample example); |
| | | |
| | | int updateByExample(@Param("record") VIPCouponHistory record, @Param("example") VIPCouponHistoryExample example); |
| | | |
| | | int updateByPrimaryKeySelective(VIPCouponHistory record); |
| | | |
| | | int updateByPrimaryKey(VIPCouponHistory record); |
| | | } |
| New file |
| | |
| | | <?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.farriver.bwf.data.master.mapper.VIPCouponHistoryMapper"> |
| | | <resultMap id="BaseResultMap" type="com.farriver.bwf.data.master.model.VIPCouponHistory"> |
| | | <id column="id" jdbcType="VARCHAR" property="id"/> |
| | | <result column="isdeleted" jdbcType="BIT" property="isdeleted"/> |
| | | <result column="remark" jdbcType="VARCHAR" property="remark"/> |
| | | <result column="createtime" jdbcType="TIMESTAMP" property="createtime"/> |
| | | <result column="updatetime" jdbcType="TIMESTAMP" property="updatetime"/> |
| | | <result column="status" jdbcType="INTEGER" property="status"/> |
| | | <result column="type" jdbcType="INTEGER" property="type"/> |
| | | <result column="activityname" jdbcType="VARCHAR" property="activityname"/> |
| | | <result column="code" jdbcType="VARCHAR" property="code"/> |
| | | <result column="distributioncondition" jdbcType="VARCHAR" property="distributioncondition"/> |
| | | <result column="amount" jdbcType="DECIMAL" property="amount"/> |
| | | <result column="discount" jdbcType="DECIMAL" property="discount"/> |
| | | <result column="discountrate" jdbcType="DECIMAL" property="discountrate"/> |
| | | <result column="validdatefrom" jdbcType="TIMESTAMP" property="validdatefrom"/> |
| | | <result column="validdateto" jdbcType="TIMESTAMP" property="validdateto"/> |
| | | <result column="issuingtime" jdbcType="TIMESTAMP" property="issuingtime"/> |
| | | <result column="usagetime" jdbcType="TIMESTAMP" property="usagetime"/> |
| | | <result column="orderno" jdbcType="VARCHAR" property="orderno"/> |
| | | <result column="masterid" jdbcType="VARCHAR" property="masterid"/> |
| | | <result column="mastercode" jdbcType="VARCHAR" property="mastercode"/> |
| | | <result column="mastername" jdbcType="VARCHAR" property="mastername"/> |
| | | </resultMap> |
| | | <sql id="Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Update_By_Example_Where_Clause"> |
| | | <where> |
| | | <foreach collection="example.oredCriteria" item="criteria" separator="or"> |
| | | <if test="criteria.valid"> |
| | | <trim prefix="(" prefixOverrides="and" suffix=")"> |
| | | <foreach collection="criteria.criteria" item="criterion"> |
| | | <choose> |
| | | <when test="criterion.noValue"> |
| | | and ${criterion.condition} |
| | | </when> |
| | | <when test="criterion.singleValue"> |
| | | and ${criterion.condition} #{criterion.value} |
| | | </when> |
| | | <when test="criterion.betweenValue"> |
| | | and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
| | | </when> |
| | | <when test="criterion.listValue"> |
| | | and ${criterion.condition} |
| | | <foreach close=")" collection="criterion.value" item="listItem" open="(" |
| | | separator=","> |
| | | #{listItem} |
| | | </foreach> |
| | | </when> |
| | | </choose> |
| | | </foreach> |
| | | </trim> |
| | | </if> |
| | | </foreach> |
| | | </where> |
| | | </sql> |
| | | <sql id="Base_Column_List"> |
| | | id, isdeleted, remark, createtime, updatetime, status, type, activityname, code, |
| | | distributioncondition, amount, discount, discountrate, validdatefrom, validdateto, |
| | | issuingtime, usagetime, orderno, masterid, mastercode, mastername |
| | | </sql> |
| | | <select id="selectByExample" parameterType="com.farriver.bwf.data.master.model.VIPCouponHistoryExample" |
| | | resultMap="BaseResultMap"> |
| | | select |
| | | <if test="distinct"> |
| | | distinct |
| | | </if> |
| | | 'true' as QUERYID, |
| | | <include refid="Base_Column_List"/> |
| | | from vip_coupon_history |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | <if test="orderByClause != null"> |
| | | order by ${orderByClause} |
| | | </if> |
| | | <if test="rows != null"> |
| | | <if test="offset != null"> |
| | | limit ${offset}, ${rows} |
| | | </if> |
| | | <if test="offset == null"> |
| | | limit ${rows} |
| | | </if> |
| | | </if> |
| | | </select> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from vip_coupon_history |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </select> |
| | | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
| | | delete from vip_coupon_history |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </delete> |
| | | <delete id="deleteByExample" parameterType="com.farriver.bwf.data.master.model.VIPCouponHistoryExample"> |
| | | delete from vip_coupon_history |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </delete> |
| | | <insert id="insert" parameterType="com.farriver.bwf.data.master.model.VIPCouponHistory"> |
| | | insert into vip_coupon_history (id, isdeleted, remark, |
| | | createtime, updatetime, status, |
| | | type, activityname, code, |
| | | distributioncondition, amount, discount, |
| | | discountrate, validdatefrom, validdateto, |
| | | issuingtime, usagetime, orderno, |
| | | masterid, mastercode, mastername |
| | | ) |
| | | values (#{id,jdbcType=VARCHAR}, #{isdeleted,jdbcType=BIT}, #{remark,jdbcType=VARCHAR}, |
| | | #{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, |
| | | #{type,jdbcType=INTEGER}, #{activityname,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, |
| | | #{distributioncondition,jdbcType=VARCHAR}, #{amount,jdbcType=DECIMAL}, #{discount,jdbcType=DECIMAL}, |
| | | #{discountrate,jdbcType=DECIMAL}, #{validdatefrom,jdbcType=TIMESTAMP}, #{validdateto,jdbcType=TIMESTAMP}, |
| | | #{issuingtime,jdbcType=TIMESTAMP}, #{usagetime,jdbcType=TIMESTAMP}, #{orderno,jdbcType=VARCHAR}, |
| | | #{masterid,jdbcType=VARCHAR}, #{mastercode,jdbcType=VARCHAR}, #{mastername,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.farriver.bwf.data.master.model.VIPCouponHistory"> |
| | | insert into vip_coupon_history |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | id, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | isdeleted, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime, |
| | | </if> |
| | | <if test="status != null"> |
| | | status, |
| | | </if> |
| | | <if test="type != null"> |
| | | type, |
| | | </if> |
| | | <if test="activityname != null"> |
| | | activityname, |
| | | </if> |
| | | <if test="code != null"> |
| | | code, |
| | | </if> |
| | | <if test="distributioncondition != null"> |
| | | distributioncondition, |
| | | </if> |
| | | <if test="amount != null"> |
| | | amount, |
| | | </if> |
| | | <if test="discount != null"> |
| | | discount, |
| | | </if> |
| | | <if test="discountrate != null"> |
| | | discountrate, |
| | | </if> |
| | | <if test="validdatefrom != null"> |
| | | validdatefrom, |
| | | </if> |
| | | <if test="validdateto != null"> |
| | | validdateto, |
| | | </if> |
| | | <if test="issuingtime != null"> |
| | | issuingtime, |
| | | </if> |
| | | <if test="usagetime != null"> |
| | | usagetime, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | orderno, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | masterid, |
| | | </if> |
| | | <if test="mastercode != null"> |
| | | mastercode, |
| | | </if> |
| | | <if test="mastername != null"> |
| | | mastername, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | | #{id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="isdeleted != null"> |
| | | #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="type != null"> |
| | | #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="activityname != null"> |
| | | #{activityname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="distributioncondition != null"> |
| | | #{distributioncondition,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="amount != null"> |
| | | #{amount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discount != null"> |
| | | #{discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discountrate != null"> |
| | | #{discountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="validdatefrom != null"> |
| | | #{validdatefrom,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="validdateto != null"> |
| | | #{validdateto,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="issuingtime != null"> |
| | | #{issuingtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="usagetime != null"> |
| | | #{usagetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | #{orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | #{masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="mastercode != null"> |
| | | #{mastercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="mastername != null"> |
| | | #{mastername,jdbcType=VARCHAR}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | <select id="countByExample" parameterType="com.farriver.bwf.data.master.model.VIPCouponHistoryExample" |
| | | resultType="java.lang.Long"> |
| | | select count(*) from vip_coupon_history |
| | | <if test="_parameter != null"> |
| | | <include refid="Example_Where_Clause"/> |
| | | </if> |
| | | </select> |
| | | <update id="updateByExampleSelective" parameterType="map"> |
| | | update vip_coupon_history |
| | | <set> |
| | | <if test="record.id != null"> |
| | | id = #{record.id,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.isdeleted != null"> |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="record.remark != null"> |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.createtime != null"> |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.updatetime != null"> |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.status != null"> |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.type != null"> |
| | | type = #{record.type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="record.activityname != null"> |
| | | activityname = #{record.activityname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.code != null"> |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.distributioncondition != null"> |
| | | distributioncondition = #{record.distributioncondition,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.amount != null"> |
| | | amount = #{record.amount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.discount != null"> |
| | | discount = #{record.discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.discountrate != null"> |
| | | discountrate = #{record.discountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="record.validdatefrom != null"> |
| | | validdatefrom = #{record.validdatefrom,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.validdateto != null"> |
| | | validdateto = #{record.validdateto,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.issuingtime != null"> |
| | | issuingtime = #{record.issuingtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.usagetime != null"> |
| | | usagetime = #{record.usagetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="record.orderno != null"> |
| | | orderno = #{record.orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.masterid != null"> |
| | | masterid = #{record.masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.mastercode != null"> |
| | | mastercode = #{record.mastercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="record.mastername != null"> |
| | | mastername = #{record.mastername,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByExample" parameterType="map"> |
| | | update vip_coupon_history |
| | | set id = #{record.id,jdbcType=VARCHAR}, |
| | | isdeleted = #{record.isdeleted,jdbcType=BIT}, |
| | | remark = #{record.remark,jdbcType=VARCHAR}, |
| | | createtime = #{record.createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{record.status,jdbcType=INTEGER}, |
| | | type = #{record.type,jdbcType=INTEGER}, |
| | | activityname = #{record.activityname,jdbcType=VARCHAR}, |
| | | code = #{record.code,jdbcType=VARCHAR}, |
| | | distributioncondition = #{record.distributioncondition,jdbcType=VARCHAR}, |
| | | amount = #{record.amount,jdbcType=DECIMAL}, |
| | | discount = #{record.discount,jdbcType=DECIMAL}, |
| | | discountrate = #{record.discountrate,jdbcType=DECIMAL}, |
| | | validdatefrom = #{record.validdatefrom,jdbcType=TIMESTAMP}, |
| | | validdateto = #{record.validdateto,jdbcType=TIMESTAMP}, |
| | | issuingtime = #{record.issuingtime,jdbcType=TIMESTAMP}, |
| | | usagetime = #{record.usagetime,jdbcType=TIMESTAMP}, |
| | | orderno = #{record.orderno,jdbcType=VARCHAR}, |
| | | masterid = #{record.masterid,jdbcType=VARCHAR}, |
| | | mastercode = #{record.mastercode,jdbcType=VARCHAR}, |
| | | mastername = #{record.mastername,jdbcType=VARCHAR} |
| | | <if test="_parameter != null"> |
| | | <include refid="Update_By_Example_Where_Clause"/> |
| | | </if> |
| | | </update> |
| | | <update id="updateByPrimaryKeySelective" parameterType="com.farriver.bwf.data.master.model.VIPCouponHistory"> |
| | | update vip_coupon_history |
| | | <set> |
| | | <if test="isdeleted != null"> |
| | | isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | </if> |
| | | <if test="remark != null"> |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="createtime != null"> |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="updatetime != null"> |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="status != null"> |
| | | status = #{status,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="type != null"> |
| | | type = #{type,jdbcType=INTEGER}, |
| | | </if> |
| | | <if test="activityname != null"> |
| | | activityname = #{activityname,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="code != null"> |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="distributioncondition != null"> |
| | | distributioncondition = #{distributioncondition,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="amount != null"> |
| | | amount = #{amount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discount != null"> |
| | | discount = #{discount,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="discountrate != null"> |
| | | discountrate = #{discountrate,jdbcType=DECIMAL}, |
| | | </if> |
| | | <if test="validdatefrom != null"> |
| | | validdatefrom = #{validdatefrom,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="validdateto != null"> |
| | | validdateto = #{validdateto,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="issuingtime != null"> |
| | | issuingtime = #{issuingtime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="usagetime != null"> |
| | | usagetime = #{usagetime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="orderno != null"> |
| | | orderno = #{orderno,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="masterid != null"> |
| | | masterid = #{masterid,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="mastercode != null"> |
| | | mastercode = #{mastercode,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="mastername != null"> |
| | | mastername = #{mastername,jdbcType=VARCHAR}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | <update id="updateByPrimaryKey" parameterType="com.farriver.bwf.data.master.model.VIPCouponHistory"> |
| | | update vip_coupon_history |
| | | set isdeleted = #{isdeleted,jdbcType=BIT}, |
| | | remark = #{remark,jdbcType=VARCHAR}, |
| | | createtime = #{createtime,jdbcType=TIMESTAMP}, |
| | | updatetime = #{updatetime,jdbcType=TIMESTAMP}, |
| | | status = #{status,jdbcType=INTEGER}, |
| | | type = #{type,jdbcType=INTEGER}, |
| | | activityname = #{activityname,jdbcType=VARCHAR}, |
| | | code = #{code,jdbcType=VARCHAR}, |
| | | distributioncondition = #{distributioncondition,jdbcType=VARCHAR}, |
| | | amount = #{amount,jdbcType=DECIMAL}, |
| | | discount = #{discount,jdbcType=DECIMAL}, |
| | | discountrate = #{discountrate,jdbcType=DECIMAL}, |
| | | validdatefrom = #{validdatefrom,jdbcType=TIMESTAMP}, |
| | | validdateto = #{validdateto,jdbcType=TIMESTAMP}, |
| | | issuingtime = #{issuingtime,jdbcType=TIMESTAMP}, |
| | | usagetime = #{usagetime,jdbcType=TIMESTAMP}, |
| | | orderno = #{orderno,jdbcType=VARCHAR}, |
| | | masterid = #{masterid,jdbcType=VARCHAR}, |
| | | mastercode = #{mastercode,jdbcType=VARCHAR}, |
| | | mastername = #{mastername,jdbcType=VARCHAR} |
| | | where id = #{id,jdbcType=VARCHAR} |
| | | </update> |
| | | </mapper> |
| 04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/mapper/VIPDepositActivityMapper.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/mapper/VIPDepositActivityMapper.xml
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/mapper/VIPMasterMapper.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/mapper/VIPMasterMapper.xml
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/mapper/VIPMasterOrganizationMapper.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/mapper/VIPMasterOrganizationMapper.xml
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/mapper/VIPMasterPaperRelationMapper.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/mapper/VIPMasterPaperRelationMapper.xml
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/mapper/VIPMasterWalletMapper.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/mapper/VIPMasterWalletMapper.xml
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrderActive.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrderActiveExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrderActiveProduct.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrderActiveProductExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrderHistory.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrderHistoryExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrderHistoryProduct.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrderHistoryProductExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrderReceiver.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrderReceiverExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrganizationClass.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrganizationClassExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrganizationDepartment.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrganizationDepartmentExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrganizationGrade.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrganizationGradeExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrganizationMajor.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrganizationMajorExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrganizationMaster.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/OrganizationMasterExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionCategory.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionCategoryExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionMaster.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionMasterAnswer.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionMasterAnswerExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionMasterExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionMasterOption.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionMasterOptionExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionMasterWithBLOBs.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionPaper.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionPaperCategory.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionPaperCategoryExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionPaperExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionPaperQuestionMasterRelation.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionPaperQuestionMasterRelationExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionSubject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionSubjectExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionSubjectGradeRelation.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionSubjectGradeRelationExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionSubjectKnowledgePoint.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/QuestionSubjectKnowledgePointExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/ShoppingCart.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/ShoppingCartExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/ShoppingCartProduct.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/ShoppingCartProductExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/SystemAuditTrail.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/SystemAuditTrailExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/SystemConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/SystemConfigExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/SystemMailLog.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/SystemMailLogExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/SystemMenu.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/SystemMenuExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/SystemNotification.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/SystemNotificationExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPCouponActive.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPCouponActiveExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPCouponHistory.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPCouponHistoryExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPDepositActivity.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPDepositActivityExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPMaster.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPMasterExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPMasterOrganization.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPMasterOrganizationExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPMasterPaperRelation.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPMasterPaperRelationExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPMasterWallet.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/java/com/farriver/bwf/data/master/model/VIPMasterWalletExample.java
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/main/resources/generatorConfig.xml
04-Development/02-Code/bwf/com.farriver.bwf.data.master/src/test/java/com/farriver/bwf/ApplicationTests.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/pom.xml
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/BlogCommentStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/BlogStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/CustomerStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/FRProjectBiddingRecordStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/FRProjectScheduleStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/FRProjectStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/MDStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/NotificationStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/OrderProductStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/OrderStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/OrderTypeOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/PaymentMethodOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/QuestionPaperTypeOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/SystemNotificationStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/UserStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/options/VIPMasterPaperRelationStatusOptions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/IQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/QueryObjectBase.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/approval/ApprovalCategoryQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/approval/ApprovalRecordHistoryQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/approval/ApprovalRecordQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/approval/ApprovalTemplateQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/dispatch/DispatchApprovalQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/dispatch/DispatchNotificationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/dispatch/DispatchTaskQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/om/OMOrganizationPositionQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/om/OMOrganizationPositionRoleRelationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/om/OMOrganizationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/order/OrderActiveProductQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/order/OrderActiveQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/order/OrderHistoryProductQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/order/OrderHistoryQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/order/OrderReceiverQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/organization/OrganizationClassQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/organization/OrganizationDepartmentQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/organization/OrganizationGradeQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/organization/OrganizationMajorQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/organization/OrganizationMasterQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/pa/PAEmployeeOrganizationPositionRelationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/pa/PAEmployeeQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/pa/PAProfessionalTitleQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/product/ProductAttributeKeyQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/product/ProductAttributeValueQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/product/ProductBrandQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/product/ProductCategoryQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/product/ProductMasterQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/product/ProductSupplierProductRelationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/product/ProductSupplierQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/question/QuestionCategoryQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/question/QuestionMasterAnswerQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/question/QuestionMasterOptionQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/question/QuestionMasterQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/question/QuestionPaperCategoryQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/question/QuestionPaperQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/question/QuestionPaperQuestionMasterRelationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/question/QuestionSubjectGradeRelationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/question/QuestionSubjectKnowledgePointQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/question/QuestionSubjectQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/AccountMasterQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/AccountMasterRoleRelationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/ApplicationMasterQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/OnlineUserQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/PermissionGroupQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/PermissionMasterGroupRelationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/PermissionMasterQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/PermissionQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/RoleMasterPermissionGroupRelationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/RoleMasterQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/RoleQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/UserMasterQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/UserMasterRoleRelationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/UserQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/UserRoleViewQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/security/UserWeChatQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/shopping/ShoppingCartProductQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/shopping/ShoppingCartQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/statistics/DashboardDataQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/statistics/StatisticsDashboardDataQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/system/SystemAuditTrailQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/system/SystemConfigQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/system/SystemLogQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/system/SystemMailLogQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/system/SystemMenuQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/system/SystemNotificationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/vip/VIPCouponActiveQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/vip/VIPCouponHistoryQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/vip/VIPDepositActivityQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/vip/VIPMasterOrganizationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/vip/VIPMasterPaperRelationQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/vip/VIPMasterQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/queryobject/vip/VIPMasterWalletQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/AuthBean.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/FRLog.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/KeyValue.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/approval/ApprovalCategoryViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/approval/ApprovalRecordHistoryViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/approval/ApprovalRecordViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/approval/ApprovalTemplateViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/common/Alert.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/common/AuthBean.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/common/ExportBOLViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/common/OperationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/common/StatusOperationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/dispatch/DispatchApprovalViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/dispatch/DispatchNotificationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/dispatch/DispatchTaskViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/om/OMOrganizationPositionRoleRelationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/om/OMOrganizationPositionViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/om/OMOrganizationPositionWriteViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/om/OMOrganizationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/om/OMOrganizationWriteViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/order/OrderActiveProductViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/order/OrderActiveViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/order/OrderHistoryProductViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/order/OrderHistoryViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/order/OrderReceiverViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/organization/OrganizationClassViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/organization/OrganizationDepartmentViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/organization/OrganizationGradeViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/organization/OrganizationMajorViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/organization/OrganizationMasterViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/pa/PAEmployeeOrganizationPositionRelationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/pa/PAEmployeeViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/pa/PAProfessionalTitleGroupViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/pa/PAProfessionalTitleViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/pa/PAProfessionalTitleWriteViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/product/ProductAttributeKeyViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/product/ProductAttributeValueViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/product/ProductBrandViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/product/ProductCategoryViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/product/ProductMasterViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/product/ProductSupplierProductRelationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/product/ProductSupplierProductsViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/product/ProductSupplierViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionCategoryViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionGradeSubjectsViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionMasterAnswerViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionMasterOptionViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionMasterViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionPaperCategoryViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionPaperQuestionMasterRelationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionPaperQuestionsViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionPaperViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionSubjectGradeRelationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionSubjectKnowledgePointViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/question/QuestionSubjectViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/AccountMasterRoleRelationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/AccountMasterViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/ApplicationMasterViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/OnlineUserViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/PasswordViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/Permission.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/PermissionGroup.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/PermissionGroupViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/PermissionGroupWithPermissions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/PermissionGroupWriteViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/PermissionMasterGroupRelationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/PermissionMasterViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/PermissionMasterWriteViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/PermissionPermissionGroup.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/PermissionViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/Role.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/RoleMasterPermissionGroupRelationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/RoleMasterViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/RoleMasterWriteViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/RolePermissionGroup.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/RolePermissionRoleView.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/RoleViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/RoleWithPermissionGroups.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/RoleWithPermissions.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/UserBasic.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/UserBasicWithRoles.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/UserInfo.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/UserMasterRoleRelationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/UserMasterViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/UserRole.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/UserRoleView.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/UserRoleViewViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/UserViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/UserWeChatViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/View_RolePermission.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/View_RolePermissionRole.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/security/View_UserRole.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/shopping/ShoppingCartProductViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/shopping/ShoppingCartViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/statistics/DashboardDataViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/system/SystemAuditTrailViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/system/SystemConfigViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/system/SystemLogViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/system/SystemMailLogViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/system/SystemMenuViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/system/SystemMenuWriteViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/system/SystemNotificationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/system/SytemLog.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/vip/VIPCouponActiveViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/vip/VIPCouponHistoryViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/vip/VIPDepositActivityViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/vip/VIPMasterOrganizationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/vip/VIPMasterPaperRelationViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/vip/VIPMasterViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/vip/VIPMasterWalletChargeViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/vip/VIPMasterWalletRechargeViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/viewmodel/vip/VIPMasterWalletViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/EnterpriseWeChatTokenModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/EnterpriseWeChatUserIdModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/EnterpriseWeChatUserInfoModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/Extattr.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/ExternalProfile.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/GongZhongHaoAccessToken.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/GongZhongHaoAppAccessToken.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/GongZhongHaojsapi_ticket.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/JsapiTicket.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/MiniProgramAccessToken.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/MiniProgramJSCode2Session.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/MiniProgramUserPhoneNumber.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/MiniProgramUserPhoneNumberCode.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/MiniProgramUserPhoneNumberParam.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/MiniProgramUserPhoneNumberResult.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/TransactionsOrderPay.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/WeChatConfigForGZHModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/WeChatConfigModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/WeChatLoginInfo.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/WeChatPayConfigViewModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/WeChatQueryObject.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/WeChatRawData.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/WeChatSession.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/WeChatUserInfo.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/WeChatUserModel.java
04-Development/02-Code/bwf/com.farriver.bwf.data.transferobject/src/main/java/com/farriver/bwf/data/transferobject/wechat/WechatChannels.java
04-Development/02-Code/bwf/com.farriver.bwf.service.extend/pom.xml
04-Development/02-Code/bwf/com.farriver.bwf.service.extend/src/main/java/com/farriver/bwf/service/extend/ifc/IFCService.java
04-Development/02-Code/bwf/com.farriver.bwf.service.extend/src/main/java/com/farriver/bwf/service/extend/rbac/RBACService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/pom.xml
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/ServiceBase.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/common/FastDFSService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/common/FileService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/RabbitConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/RedisUtil.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/RestTemplateConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/SMSMessageConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/cache/CacheConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/cache/CustomCacheResolver.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/cache/IgnoreExceptionCacheErrorHandler.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/database/DBContextHolder.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/database/DataSourceAop.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/database/DataSourceConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/database/Master.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/database/MyBatisConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/config/database/RoutingDataSource.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/order/OrderActiveProductService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/order/OrderActiveService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/order/OrderHistoryProductService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/order/OrderHistoryService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/order/OrderReceiverService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/organization/OrganizationClassService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/organization/OrganizationDepartmentService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/organization/OrganizationGradeService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/organization/OrganizationMajorService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/organization/OrganizationMasterService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/product/ProductService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/question/QuestionCategoryService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/question/QuestionMasterAnswerService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/question/QuestionMasterOptionService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/question/QuestionMasterService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/question/QuestionPaperCategoryService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/question/QuestionPaperQuestionMasterRelationService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/question/QuestionPaperService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/question/QuestionSubjectGradeRelationService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/question/QuestionSubjectKnowledgePointService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/question/QuestionSubjectService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/security/SecurityService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/shopping/ShoppingCartProductService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/shopping/ShoppingCartService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/statistics/DashboardService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/statistics/StatisticsDashboardService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/system/SystemAliyunSMSService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/system/SystemAuditTrailService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/system/SystemConfigService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/system/SystemLogService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/system/SystemMailLogService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/system/SystemMenuService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/system/SystemNotificationService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/system/SystemPrintService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/task/VIPMasterPaperRelationCheckTask.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/vip/VIPCouponActiveService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/vip/VIPCouponHistoryService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/vip/VIPDepositActivityService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/vip/VIPMasterOrganizationService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/vip/VIPMasterPaperRelationService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/vip/VIPMasterService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/vip/VIPMasterWalletService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/wechat/EnterpriseWeChatService.java
04-Development/02-Code/bwf/com.farriver.bwf.service/src/main/java/com/farriver/bwf/service/wechat/WeChatUserService.java
04-Development/02-Code/bwf/com.farriver.bwf.web/pom.xml
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/WebApplication.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/EntryController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/FastDFSController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/FileController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/GlobalErrorController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/AdminControllerBase.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/AdminOauthController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/DashboardController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/ifc/IFCController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/order/OrderActiveController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/order/OrderActiveProductController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/order/OrderHistoryController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/order/OrderHistoryProductController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/order/OrderReceiverController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/organization/OrganizationClassController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/organization/OrganizationDepartmentController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/organization/OrganizationGradeController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/organization/OrganizationMajorController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/organization/OrganizationMasterController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/question/QuestionCategoryController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/question/QuestionMasterController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/question/QuestionPaperCategoryController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/question/QuestionPaperController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/question/QuestionPaperQuestionMasterRelationController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/question/QuestionSubjectController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/question/QuestionSubjectGradeRelationController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/question/QuestionSubjectKnowledgePointController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/security/SecurityController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/shopping/ShoppingCartController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/shopping/ShoppingCartProductController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/system/SystemAuditTrailController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/system/SystemConfigController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/system/SystemLogController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/system/SystemMailLogController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/system/SystemMenuController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/system/SystemNotificationController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/vip/VIPCouponActiveController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/vip/VIPCouponHistoryController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/vip/VIPDepositActivityController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/vip/VIPMasterController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/vip/VIPMasterPaperRelationController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/admin/vip/VIPMasterWalletController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/open/OpenApiController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/portal/IndexController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/portal/PortalOauthController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/EnterpriseWeChatController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WXPayController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WXPayViaGZHConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WXPayViaMiniProgramConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WXPayViaNativeConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WeChatOauthController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WeChatOauthViaGZHConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WeChatOauthViaMiniProgramConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WeChatOrderActiveController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WeChatOrganizationController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WeChatProductController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WeChatQuestionController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/controller/wechat/WeChatVipController.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/NacosRegisterOnWar.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/WebMvcConfiguration.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/WebSocketConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/aop/AuditTrailAop.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/config/DFSClientConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/config/FastDFSClientConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/config/FeignConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/config/JwtConfig.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/exception/GlobalExceptionHandler.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/interceptor/CrossInterceptor.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/interceptor/OptionsInterceptor.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/interceptor/TokenInterceptor.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/java/com/farriver/bwf/web/initializer/interceptor/WelcomeWebRequestInterceptor.java
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/resources/application.yml
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/resources/bootstrap.yml
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/resources/logback-spring.xml
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/resources/nacos-logback.xml
04-Development/02-Code/bwf/com.farriver.bwf.web/src/main/resources/templates/template.html
04-Development/02-Code/bwf/com.farriver.bwf.web/src/test/java/com/farriver/bwf/WebApplicationTests.java
04-Development/02-Code/bwf/com.farriver.bwf.webui/.babelrc
04-Development/02-Code/bwf/com.farriver.bwf.webui/.gitignore
04-Development/02-Code/bwf/com.farriver.bwf.webui/README.md
04-Development/02-Code/bwf/com.farriver.bwf.webui/index.html
04-Development/02-Code/bwf/com.farriver.bwf.webui/package-lock.json
04-Development/02-Code/bwf/com.farriver.bwf.webui/package.json
04-Development/02-Code/bwf/com.farriver.bwf.webui/pom.xml
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/config.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/css/font-awesome-all.css
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/css/font-youshe.css
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/css/font-zhanku.css
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/favicon.ico
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/fonts/font-awesome/fa-brands-400.woff2
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/fonts/font-awesome/fa-regular-400.woff2
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/fonts/font-awesome/fa-solid-900.woff2
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/fonts/font-awesome/fa-v4compatibility.woff2
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/fonts/youshe/YSHaoShenTi.ttf
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/fonts/zhanku/站酷庆科黄油体.ttf
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/i18n/i18n.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/i18n/lang/en_us.json
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/i18n/lang/zh_cn.json
04-Development/02-Code/bwf/com.farriver.bwf.webui/public/assets/js/babel.min.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/App.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/admin/ifc.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/admin/masterdata.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/admin/order.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/admin/organization.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/admin/question.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/admin/security.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/admin/statistics.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/admin/system.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/admin/vip.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/common.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/mobile/question.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/open.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/api/portal/security.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/AppMenuButton.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/AvatarUploadExt.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/FileImporter.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/FileUploadExt.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/FlipDown.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/MasterDataStatus.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/MenuButton.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/UploadBOL.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/UploadDocument.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/UploadExportTemplate.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/UploadImportTemplate.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/UploadReport.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/UploadSingleFile.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/dashboardprogressExt.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/lineprogressExt.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/svgIcon.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/common/wangEditorExt.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/mobile/question/answer.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/mobile/question/controlbar.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/mobile/question/option.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/mobile/question/stem.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/components/mobile/question/wangEditorShow.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/element-variables.scss
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/icons/svg/404.svg
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/index.css
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/main.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/plugins/svgBuilder.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/router/index.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/router/navigators/basicNavigator.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/router/navigators/masterdataNavigator.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/router/routeList.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/router/routedata/masterdata.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/store/basicInfo.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/store/mobilequestion.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/utils/axioshttp.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/utils/common.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/utils/directive.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/utils/sockjs.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/utils/stomp.js
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/404.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/License.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/LicenseSecrecy.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/AccountActivation.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/Admin404.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/Layout.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/Login.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/Navigation.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/Register.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/RetrievePassword.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/UserProfile.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/Workbench.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/components/LatestApproval.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/components/LatestNotification.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/components/LatestTask.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/order/ActiveOrder.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/order/ActiveOrderDetail.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/order/HistoryOrder.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/organization/OrganizationClass.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/organization/OrganizationDepartment.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/organization/OrganizationGrade.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/organization/OrganizationMajor.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/organization/OrganizationMaster.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/question/OrganizationGradeSubjectRelation.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/question/QuestionCategory.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/question/QuestionMaster.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/question/QuestionPaper.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/question/QuestionPaperCategory.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/question/QuestionPaperQuestionList.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/question/QuestionSubject.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/question/QuestionSubjectKnowledgePoint.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/system/AuditTrail.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/system/Config.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/system/Log.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/system/MailSendLog.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/system/Menu.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/system/Notification.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/vip/VIPCouponActive.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/vip/VIPCouponHistory.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/vip/VIPDepositActivity.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/vip/VIPMaster.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/vip/VIPMasterBenefit.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/admin/vip/VIPMasterCategory.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/src/views/mobile/question/question.vue
04-Development/02-Code/bwf/com.farriver.bwf.webui/vite.config.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/.gitignore
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/index.html
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/package.json
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/shims-uni.d.ts
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/App.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/apis/api.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/apis/authapi.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/apis/common.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/apis/network.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/apis/ordernumber.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/common/common.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/common/validator.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/common/AppMenuButton.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/common/MenuButton.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/common/svgIcon.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/iconfont/iconfont.css
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-copyright/use-copyright.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-empty/use-empty.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-header/use-header.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-hot-goods/use-hot-goods.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-list-title/use-list-title.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-mask/use-mask.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-navbar/use-navbar.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-number-box/use-number-box.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-popup/use-popup.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-qrcode/qrcode.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-qrcode/use-qrcode.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-smscode/use-smscode.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/use-totop/use-totop.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/components/userProfile/userProfile.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/config.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/main.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/manifest.json
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages.json
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/activity/index.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/category/index.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/home/index.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/my/index.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/my/recharge.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/my/setting.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/my/share.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/pay/pay.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/product/index.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/search/index.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/security/login.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/pages/shoppingcart/index.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/shime-uni.d.ts
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/ercode.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/favicon.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/recharge.jpg
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/svg/profile.svg
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/card.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/cart-active.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/cart.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/category-active.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/category.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/home-active.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/home.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/index.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/index_fill.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/mine.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/mine_fill.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/scart.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/scart_fill.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/shopping-active.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/shopping.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/sort.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/sort_fill.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/user-active.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/static/image/tabbar/user.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/store/basicInfo.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/src/uni.scss
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.mall/vite.config.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/.gitignore
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/index.html
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/package-lock.json
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/package.json
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/shims-uni.d.ts
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/App.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/apis/api.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/apis/authapi.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/apis/common.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/apis/network.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/apis/ordernumber.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/common/common.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/common/validator.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/components/userProfile/userProfile.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/config.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/main.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/manifest.json
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages.json
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/index/index.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/my/my.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/my/myquestion.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/my/recharge.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/my/setting.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/my/share.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/pay/pay.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/question/list.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/question/question.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/question/type.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/pages/security/login.vue
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/shime-uni.d.ts
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/charge.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/ercode.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/favicon.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/loginlogo.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/recharge.jpg
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/svg/profile.svg
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/card.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/cart-active.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/cart.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/category-active.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/category.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/home-active.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/home.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/index.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/index_fill.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/mine.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/mine_fill.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/scart.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/scart_fill.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/shopping-active.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/shopping.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/sort.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/sort_fill.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/user-active.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/tabbar/user.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/static/image/test.png
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/store/basicInfo.js
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/src/uni.scss
04-Development/02-Code/bwf/com.farriver.bwf.wechatmp.vue3/vite.config.js
04-Development/02-Code/bwf/pom.xml
04-Development/03-Build/README.md
04-Development/04-Database/README.md
04-Development/05-Publish/README.md
04-Development/06-Development Environment/README.md
04-Development/README.md
05-Test/01-Test Plan/README.md
05-Test/02-Test Design/README.md
05-Test/03-Test Data/README.md
05-Test/README.md
06-Deployment/01-Manual/01-Draft/README.md
06-Deployment/01-Manual/02-Review/README.md
06-Deployment/01-Manual/03-Submitted/README.md
06-Deployment/01-Manual/04-ToCustomer/README.md
06-Deployment/01-Manual/04-ToCustomer/~$PQ FDS R01 - ToCustomer.docx
06-Deployment/01-Manual/README.md
06-Deployment/02-FAT release/README.md
07-QA/README.md
08-SCM/README.md
09-FAT/README.md
10-SAT/README.md
README.md |