Merge remote-tracking branch 'origin/wuhuyancao' into wuhuyancao
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinet:create', 'æ°å»ºé¥åæåºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinet:delete', 'å é¤é¥åæåºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinet:update', 'ä¿®æ¹é¥åæåºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinet:query', 'æ¥è¯¢é¥åæåºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinet:exportExcel', '导åºé¥åæåºæ¬ä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinetgrid:create', 'æ°å»ºé¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinetgrid:delete', 'å é¤é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinetgrid:update', 'ä¿®æ¹é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinetgrid:query', 'æ¥è¯¢é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinetgrid:exportExcel', '导åºé¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinetlog:create', 'æ°å»ºé¥åæå¼å
³é¨è®°å½', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinetlog:delete', 'å é¤é¥åæå¼å
³é¨è®°å½', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinetlog:update', 'ä¿®æ¹é¥åæå¼å
³é¨è®°å½', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinetlog:query', 'æ¥è¯¢é¥åæå¼å
³é¨è®°å½', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcabinetlog:exportExcel', '导åºé¥åæå¼å
³é¨è®°å½(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcustomer:create', 'æ°å»ºäº¤æ§-客æ·ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcustomer:delete', 'å é¤äº¤æ§-客æ·ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcustomer:update', 'ä¿®æ¹äº¤æ§-客æ·ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcustomer:query', 'æ¥è¯¢äº¤æ§-客æ·ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkcustomer:exportExcel', '导åºäº¤æ§-客æ·ä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkiccard:create', 'æ°å»ºé¥åæICå¡ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkiccard:delete', 'å é¤é¥åæICå¡ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkiccard:update', 'ä¿®æ¹é¥åæICå¡ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkiccard:query', 'æ¥è¯¢é¥åæICå¡ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkiccard:exportExcel', '导åºé¥åæICå¡ä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkkeys:create', 'æ°å»ºé¥ååºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkkeys:delete', 'å é¤é¥ååºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkkeys:update', 'ä¿®æ¹é¥ååºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkkeys:query', 'æ¥è¯¢é¥ååºæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkkeys:exportExcel', '导åºé¥ååºæ¬ä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkline:create', 'æ°å»ºäº¤æ§-线路信æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkline:delete', 'å é¤äº¤æ§-线路信æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkline:update', 'ä¿®æ¹äº¤æ§-线路信æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkline:query', 'æ¥è¯¢äº¤æ§-线路信æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkline:exportExcel', '导åºäº¤æ§-线路信æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkorders:create', 'æ°å»ºäº¤æ§-éå®è®¢åä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkorders:delete', 'å é¤äº¤æ§-éå®è®¢åä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkorders:update', 'ä¿®æ¹äº¤æ§-éå®è®¢åä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkorders:query', 'æ¥è¯¢äº¤æ§-éå®è®¢åä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkorders:exportExcel', '导åºäº¤æ§-éå®è®¢åä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketch:create', 'æ°å»ºäº¤æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketch:delete', 'å é¤äº¤æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketch:update', 'ä¿®æ¹äº¤æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketch:query', 'æ¥è¯¢äº¤æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketch:exportExcel', '导åºäº¤æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketchcustomer:create', 'æ°å»ºäº¤æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketchcustomer:delete', 'å é¤äº¤æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketchcustomer:update', 'ä¿®æ¹äº¤æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketchcustomer:query', 'æ¥è¯¢äº¤æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketchcustomer:exportExcel', '导åºäº¤æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketchline:create', 'æ°å»ºäº¤æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketchline:delete', 'å é¤äº¤æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketchline:update', 'ä¿®æ¹äº¤æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketchline:query', 'æ¥è¯¢äº¤æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jksketchline:exportExcel', '导åºäº¤æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkversion:create', 'æ°å»ºäº¤æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkversion:delete', 'å é¤äº¤æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkversion:update', 'ä¿®æ¹äº¤æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkversion:query', 'æ¥è¯¢äº¤æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:jkversion:exportExcel', '导åºäº¤æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warning:create', 'æ°å»ºæ¥è¦è®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warning:delete', 'å 餿¥è¦è®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warning:update', 'ä¿®æ¹æ¥è¦è®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warning:query', 'æ¥è¯¢æ¥è¦è®°å½ä¿¡æ¯è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warning:exportExcel', 'å¯¼åºæ¥è¦è®°å½ä¿¡æ¯è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningpush:create', 'æ°å»ºæ¥è¦æ¨éè®°å½', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningpush:delete', 'å 餿¥è¦æ¨éè®°å½', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningpush:update', 'ä¿®æ¹æ¥è¦æ¨éè®°å½', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningpush:query', 'æ¥è¯¢æ¥è¦æ¨éè®°å½', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningpush:exportExcel', 'å¯¼åºæ¥è¦æ¨éè®°å½(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningrule:create', 'æ°å»ºæ¥è¦è§åé
置表', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningrule:delete', 'å 餿¥è¦è§åé
置表', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningrule:update', 'ä¿®æ¹æ¥è¦è§åé
置表', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningrule:query', 'æ¥è¯¢æ¥è¦è§åé
置表', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningrule:exportExcel', 'å¯¼åºæ¥è¦è§åé
置表(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningruledetail:create', 'æ°å»ºæ¥è¦è§åé
ç½®æç»è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningruledetail:delete', 'å 餿¥è¦è§åé
ç½®æç»è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningruledetail:update', 'ä¿®æ¹æ¥è¦è§åé
ç½®æç»è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningruledetail:query', 'æ¥è¯¢æ¥è¦è§åé
ç½®æç»è¡¨', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | INSERT INTO `SYSTEM_PERMISSION`(`CODE`, `NAME`, `REMARK`, `FIXED`, `CREATE_USER`, `CREATE_TIME`, `UPDATE_USER`, `UPDATE_TIME`, `DELETED`) VALUES ('business:warningruledetail:exportExcel', 'å¯¼åºæ¥è¦è§åé
ç½®æç»è¡¨(Excel)', '', 0, 1, CURRENT_TIMESTAMP, NULL, NULL, 0); |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkCabinet; |
| | | import com.doumee.service.business.JkCabinetService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "é¥åæåºæ¬ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkCabinet") |
| | | public class JkCabinetController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkCabinetService jkCabinetService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jkcabinet:create") |
| | | public ApiResponse create(@RequestBody JkCabinet jkCabinet) { |
| | | return ApiResponse.success(jkCabinetService.create(jkCabinet)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jkcabinet:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkCabinetService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jkcabinet:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkCabinetService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jkcabinet:update") |
| | | public ApiResponse updateById(@RequestBody JkCabinet jkCabinet) { |
| | | jkCabinetService.updateById(jkCabinet); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jkcabinet:query") |
| | | public ApiResponse<PageData<JkCabinet>> findPage (@RequestBody PageWrap<JkCabinet> pageWrap) { |
| | | return ApiResponse.success(jkCabinetService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jkcabinet:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkCabinet> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkCabinet.class).export(jkCabinetService.findPage(pageWrap).getRecords(), "é¥åæåºæ¬ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jkcabinet:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkCabinetService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkCabinetGrid; |
| | | import com.doumee.service.business.JkCabinetGridService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkCabinetGrid") |
| | | public class JkCabinetGridController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkCabinetGridService jkCabinetGridService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jkcabinetgrid:create") |
| | | public ApiResponse create(@RequestBody JkCabinetGrid jkCabinetGrid) { |
| | | return ApiResponse.success(jkCabinetGridService.create(jkCabinetGrid)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jkcabinetgrid:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkCabinetGridService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jkcabinetgrid:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkCabinetGridService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jkcabinetgrid:update") |
| | | public ApiResponse updateById(@RequestBody JkCabinetGrid jkCabinetGrid) { |
| | | jkCabinetGridService.updateById(jkCabinetGrid); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jkcabinetgrid:query") |
| | | public ApiResponse<PageData<JkCabinetGrid>> findPage (@RequestBody PageWrap<JkCabinetGrid> pageWrap) { |
| | | return ApiResponse.success(jkCabinetGridService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jkcabinetgrid:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkCabinetGrid> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkCabinetGrid.class).export(jkCabinetGridService.findPage(pageWrap).getRecords(), "é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jkcabinetgrid:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkCabinetGridService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkCabinetLog; |
| | | import com.doumee.service.business.JkCabinetLogService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "é¥åæå¼å
³é¨è®°å½") |
| | | @RestController |
| | | @RequestMapping("/business/jkCabinetLog") |
| | | public class JkCabinetLogController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkCabinetLogService jkCabinetLogService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jkcabinetlog:create") |
| | | public ApiResponse create(@RequestBody JkCabinetLog jkCabinetLog) { |
| | | return ApiResponse.success(jkCabinetLogService.create(jkCabinetLog)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jkcabinetlog:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkCabinetLogService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jkcabinetlog:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkCabinetLogService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jkcabinetlog:update") |
| | | public ApiResponse updateById(@RequestBody JkCabinetLog jkCabinetLog) { |
| | | jkCabinetLogService.updateById(jkCabinetLog); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jkcabinetlog:query") |
| | | public ApiResponse<PageData<JkCabinetLog>> findPage (@RequestBody PageWrap<JkCabinetLog> pageWrap) { |
| | | return ApiResponse.success(jkCabinetLogService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jkcabinetlog:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkCabinetLog> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkCabinetLog.class).export(jkCabinetLogService.findPage(pageWrap).getRecords(), "é¥åæå¼å
³é¨è®°å½", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jkcabinetlog:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkCabinetLogService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkCustomer; |
| | | import com.doumee.service.business.JkCustomerService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-客æ·ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkCustomer") |
| | | public class JkCustomerController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkCustomerService jkCustomerService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jkcustomer:create") |
| | | public ApiResponse create(@RequestBody JkCustomer jkCustomer) { |
| | | return ApiResponse.success(jkCustomerService.create(jkCustomer)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jkcustomer:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkCustomerService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jkcustomer:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkCustomerService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jkcustomer:update") |
| | | public ApiResponse updateById(@RequestBody JkCustomer jkCustomer) { |
| | | jkCustomerService.updateById(jkCustomer); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jkcustomer:query") |
| | | public ApiResponse<PageData<JkCustomer>> findPage (@RequestBody PageWrap<JkCustomer> pageWrap) { |
| | | return ApiResponse.success(jkCustomerService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jkcustomer:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkCustomer> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkCustomer.class).export(jkCustomerService.findPage(pageWrap).getRecords(), "交æ§-客æ·ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jkcustomer:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkCustomerService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkIccard; |
| | | import com.doumee.service.business.JkIccardService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "é¥åæICå¡ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkIccard") |
| | | public class JkIccardController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkIccardService jkIccardService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jkiccard:create") |
| | | public ApiResponse create(@RequestBody JkIccard jkIccard) { |
| | | return ApiResponse.success(jkIccardService.create(jkIccard)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jkiccard:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkIccardService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jkiccard:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkIccardService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jkiccard:update") |
| | | public ApiResponse updateById(@RequestBody JkIccard jkIccard) { |
| | | jkIccardService.updateById(jkIccard); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jkiccard:query") |
| | | public ApiResponse<PageData<JkIccard>> findPage (@RequestBody PageWrap<JkIccard> pageWrap) { |
| | | return ApiResponse.success(jkIccardService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jkiccard:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkIccard> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkIccard.class).export(jkIccardService.findPage(pageWrap).getRecords(), "é¥åæICå¡ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jkiccard:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkIccardService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkKeys; |
| | | import com.doumee.service.business.JkKeysService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "é¥ååºæ¬ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkKeys") |
| | | public class JkKeysController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkKeysService jkKeysService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jkkeys:create") |
| | | public ApiResponse create(@RequestBody JkKeys jkKeys) { |
| | | return ApiResponse.success(jkKeysService.create(jkKeys)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jkkeys:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkKeysService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jkkeys:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkKeysService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jkkeys:update") |
| | | public ApiResponse updateById(@RequestBody JkKeys jkKeys) { |
| | | jkKeysService.updateById(jkKeys); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jkkeys:query") |
| | | public ApiResponse<PageData<JkKeys>> findPage (@RequestBody PageWrap<JkKeys> pageWrap) { |
| | | return ApiResponse.success(jkKeysService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jkkeys:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkKeys> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkKeys.class).export(jkKeysService.findPage(pageWrap).getRecords(), "é¥ååºæ¬ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jkkeys:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkKeysService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkLine; |
| | | import com.doumee.service.business.JkLineService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-线路信æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkLine") |
| | | public class JkLineController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkLineService jkLineService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jkline:create") |
| | | public ApiResponse create(@RequestBody JkLine jkLine) { |
| | | return ApiResponse.success(jkLineService.create(jkLine)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jkline:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkLineService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jkline:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkLineService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jkline:update") |
| | | public ApiResponse updateById(@RequestBody JkLine jkLine) { |
| | | jkLineService.updateById(jkLine); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jkline:query") |
| | | public ApiResponse<PageData<JkLine>> findPage (@RequestBody PageWrap<JkLine> pageWrap) { |
| | | return ApiResponse.success(jkLineService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jkline:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkLine> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkLine.class).export(jkLineService.findPage(pageWrap).getRecords(), "交æ§-线路信æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jkline:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkLineService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkOrders; |
| | | import com.doumee.service.business.JkOrdersService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-éå®è®¢åä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkOrders") |
| | | public class JkOrdersController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkOrdersService jkOrdersService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jkorders:create") |
| | | public ApiResponse create(@RequestBody JkOrders jkOrders) { |
| | | return ApiResponse.success(jkOrdersService.create(jkOrders)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jkorders:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkOrdersService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jkorders:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkOrdersService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jkorders:update") |
| | | public ApiResponse updateById(@RequestBody JkOrders jkOrders) { |
| | | jkOrdersService.updateById(jkOrders); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jkorders:query") |
| | | public ApiResponse<PageData<JkOrders>> findPage (@RequestBody PageWrap<JkOrders> pageWrap) { |
| | | return ApiResponse.success(jkOrdersService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jkorders:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkOrders> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkOrders.class).export(jkOrdersService.findPage(pageWrap).getRecords(), "交æ§-éå®è®¢åä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jkorders:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkOrdersService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkSketch; |
| | | import com.doumee.service.business.JkSketchService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkSketch") |
| | | public class JkSketchController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkSketchService jkSketchService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jksketch:create") |
| | | public ApiResponse create(@RequestBody JkSketch jkSketch) { |
| | | return ApiResponse.success(jkSketchService.create(jkSketch)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jksketch:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkSketchService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jksketch:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkSketchService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jksketch:update") |
| | | public ApiResponse updateById(@RequestBody JkSketch jkSketch) { |
| | | jkSketchService.updateById(jkSketch); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jksketch:query") |
| | | public ApiResponse<PageData<JkSketch>> findPage (@RequestBody PageWrap<JkSketch> pageWrap) { |
| | | return ApiResponse.success(jkSketchService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jksketch:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkSketch> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkSketch.class).export(jkSketchService.findPage(pageWrap).getRecords(), "交æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jksketch:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkSketchService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkSketchCustomer; |
| | | import com.doumee.service.business.JkSketchCustomerService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkSketchCustomer") |
| | | public class JkSketchCustomerController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkSketchCustomerService jkSketchCustomerService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jksketchcustomer:create") |
| | | public ApiResponse create(@RequestBody JkSketchCustomer jkSketchCustomer) { |
| | | return ApiResponse.success(jkSketchCustomerService.create(jkSketchCustomer)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jksketchcustomer:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkSketchCustomerService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jksketchcustomer:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkSketchCustomerService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jksketchcustomer:update") |
| | | public ApiResponse updateById(@RequestBody JkSketchCustomer jkSketchCustomer) { |
| | | jkSketchCustomerService.updateById(jkSketchCustomer); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jksketchcustomer:query") |
| | | public ApiResponse<PageData<JkSketchCustomer>> findPage (@RequestBody PageWrap<JkSketchCustomer> pageWrap) { |
| | | return ApiResponse.success(jkSketchCustomerService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jksketchcustomer:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkSketchCustomer> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkSketchCustomer.class).export(jkSketchCustomerService.findPage(pageWrap).getRecords(), "交æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jksketchcustomer:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkSketchCustomerService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkSketchLine; |
| | | import com.doumee.service.business.JkSketchLineService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkSketchLine") |
| | | public class JkSketchLineController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkSketchLineService jkSketchLineService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jksketchline:create") |
| | | public ApiResponse create(@RequestBody JkSketchLine jkSketchLine) { |
| | | return ApiResponse.success(jkSketchLineService.create(jkSketchLine)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jksketchline:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkSketchLineService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jksketchline:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkSketchLineService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jksketchline:update") |
| | | public ApiResponse updateById(@RequestBody JkSketchLine jkSketchLine) { |
| | | jkSketchLineService.updateById(jkSketchLine); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jksketchline:query") |
| | | public ApiResponse<PageData<JkSketchLine>> findPage (@RequestBody PageWrap<JkSketchLine> pageWrap) { |
| | | return ApiResponse.success(jkSketchLineService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jksketchline:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkSketchLine> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkSketchLine.class).export(jkSketchLineService.findPage(pageWrap).getRecords(), "交æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jksketchline:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkSketchLineService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.JkVersion; |
| | | import com.doumee.service.business.JkVersionService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/jkVersion") |
| | | public class JkVersionController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkVersionService jkVersionService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:jkversion:create") |
| | | public ApiResponse create(@RequestBody JkVersion jkVersion) { |
| | | return ApiResponse.success(jkVersionService.create(jkVersion)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:jkversion:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkVersionService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:jkversion:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkVersionService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:jkversion:update") |
| | | public ApiResponse updateById(@RequestBody JkVersion jkVersion) { |
| | | jkVersionService.updateById(jkVersion); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:jkversion:query") |
| | | public ApiResponse<PageData<JkVersion>> findPage (@RequestBody PageWrap<JkVersion> pageWrap) { |
| | | return ApiResponse.success(jkVersionService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:jkversion:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkVersion> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkVersion.class).export(jkVersionService.findPage(pageWrap).getRecords(), "交æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:jkversion:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkVersionService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.Warning; |
| | | import com.doumee.service.business.WarningService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "æ¥è¦è®°å½ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/warning") |
| | | public class WarningController extends BaseController { |
| | | |
| | | @Autowired |
| | | private WarningService warningService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:warning:create") |
| | | public ApiResponse create(@RequestBody Warning warning) { |
| | | return ApiResponse.success(warningService.create(warning)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:warning:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | warningService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:warning:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | warningService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:warning:update") |
| | | public ApiResponse updateById(@RequestBody Warning warning) { |
| | | warningService.updateById(warning); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:warning:query") |
| | | public ApiResponse<PageData<Warning>> findPage (@RequestBody PageWrap<Warning> pageWrap) { |
| | | return ApiResponse.success(warningService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:warning:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<Warning> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(Warning.class).export(warningService.findPage(pageWrap).getRecords(), "æ¥è¦è®°å½ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:warning:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(warningService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.WarningPush; |
| | | import com.doumee.service.business.WarningPushService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "æ¥è¦æ¨éè®°å½") |
| | | @RestController |
| | | @RequestMapping("/business/warningPush") |
| | | public class WarningPushController extends BaseController { |
| | | |
| | | @Autowired |
| | | private WarningPushService warningPushService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:warningpush:create") |
| | | public ApiResponse create(@RequestBody WarningPush warningPush) { |
| | | return ApiResponse.success(warningPushService.create(warningPush)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:warningpush:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | warningPushService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:warningpush:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | warningPushService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:warningpush:update") |
| | | public ApiResponse updateById(@RequestBody WarningPush warningPush) { |
| | | warningPushService.updateById(warningPush); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:warningpush:query") |
| | | public ApiResponse<PageData<WarningPush>> findPage (@RequestBody PageWrap<WarningPush> pageWrap) { |
| | | return ApiResponse.success(warningPushService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:warningpush:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<WarningPush> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(WarningPush.class).export(warningPushService.findPage(pageWrap).getRecords(), "æ¥è¦æ¨éè®°å½", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:warningpush:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(warningPushService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.WarningRule; |
| | | import com.doumee.service.business.WarningRuleService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "æ¥è¦è§åé
置表") |
| | | @RestController |
| | | @RequestMapping("/business/warningRule") |
| | | public class WarningRuleController extends BaseController { |
| | | |
| | | @Autowired |
| | | private WarningRuleService warningRuleService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:warningrule:create") |
| | | public ApiResponse create(@RequestBody WarningRule warningRule) { |
| | | return ApiResponse.success(warningRuleService.create(warningRule)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:warningrule:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | warningRuleService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:warningrule:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | warningRuleService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:warningrule:update") |
| | | public ApiResponse updateById(@RequestBody WarningRule warningRule) { |
| | | warningRuleService.updateById(warningRule); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:warningrule:query") |
| | | public ApiResponse<PageData<WarningRule>> findPage (@RequestBody PageWrap<WarningRule> pageWrap) { |
| | | return ApiResponse.success(warningRuleService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:warningrule:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<WarningRule> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(WarningRule.class).export(warningRuleService.findPage(pageWrap).getRecords(), "æ¥è¦è§åé
置表", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:warningrule:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(warningRuleService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.WarningRuleDetail; |
| | | import com.doumee.service.business.WarningRuleDetailService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "æ¥è¦è§åé
ç½®æç»è¡¨") |
| | | @RestController |
| | | @RequestMapping("/business/warningRuleDetail") |
| | | public class WarningRuleDetailController extends BaseController { |
| | | |
| | | @Autowired |
| | | private WarningRuleDetailService warningRuleDetailService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @RequiresPermissions("business:warningruledetail:create") |
| | | public ApiResponse create(@RequestBody WarningRuleDetail warningRuleDetail) { |
| | | return ApiResponse.success(warningRuleDetailService.create(warningRuleDetail)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:warningruledetail:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | warningRuleDetailService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @RequiresPermissions("business:warningruledetail:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | warningRuleDetailService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @RequiresPermissions("business:warningruledetail:update") |
| | | public ApiResponse updateById(@RequestBody WarningRuleDetail warningRuleDetail) { |
| | | warningRuleDetailService.updateById(warningRuleDetail); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:warningruledetail:query") |
| | | public ApiResponse<PageData<WarningRuleDetail>> findPage (@RequestBody PageWrap<WarningRuleDetail> pageWrap) { |
| | | return ApiResponse.success(warningRuleDetailService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:warningruledetail:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<WarningRuleDetail> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(WarningRuleDetail.class).export(warningRuleDetailService.findPage(pageWrap).getRecords(), "æ¥è¦è§åé
ç½®æç»è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @RequiresPermissions("business:warningruledetail:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(warningRuleDetailService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkCabinet; |
| | | import com.doumee.service.business.JkCabinetService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "é¥åæåºæ¬ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkCabinet") |
| | | public class JkCabinetCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkCabinetService jkCabinetService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jkcabinet:create") |
| | | public ApiResponse create(@RequestBody JkCabinet jkCabinet) { |
| | | return ApiResponse.success(jkCabinetService.create(jkCabinet)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jkcabinet:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkCabinetService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jkcabinet:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkCabinetService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jkcabinet:update") |
| | | public ApiResponse updateById(@RequestBody JkCabinet jkCabinet) { |
| | | jkCabinetService.updateById(jkCabinet); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jkcabinet:query") |
| | | public ApiResponse<PageData<JkCabinet>> findPage (@RequestBody PageWrap<JkCabinet> pageWrap) { |
| | | return ApiResponse.success(jkCabinetService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jkcabinet:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkCabinet> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkCabinet.class).export(jkCabinetService.findPage(pageWrap).getRecords(), "é¥åæåºæ¬ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jkcabinet:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkCabinetService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkCabinetGrid; |
| | | import com.doumee.service.business.JkCabinetGridService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkCabinetGrid") |
| | | public class JkCabinetGridCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkCabinetGridService jkCabinetGridService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jkcabinetgrid:create") |
| | | public ApiResponse create(@RequestBody JkCabinetGrid jkCabinetGrid) { |
| | | return ApiResponse.success(jkCabinetGridService.create(jkCabinetGrid)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jkcabinetgrid:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkCabinetGridService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jkcabinetgrid:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkCabinetGridService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jkcabinetgrid:update") |
| | | public ApiResponse updateById(@RequestBody JkCabinetGrid jkCabinetGrid) { |
| | | jkCabinetGridService.updateById(jkCabinetGrid); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jkcabinetgrid:query") |
| | | public ApiResponse<PageData<JkCabinetGrid>> findPage (@RequestBody PageWrap<JkCabinetGrid> pageWrap) { |
| | | return ApiResponse.success(jkCabinetGridService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jkcabinetgrid:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkCabinetGrid> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkCabinetGrid.class).export(jkCabinetGridService.findPage(pageWrap).getRecords(), "é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jkcabinetgrid:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkCabinetGridService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkCabinetLog; |
| | | import com.doumee.service.business.JkCabinetLogService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "é¥åæå¼å
³é¨è®°å½") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkCabinetLog") |
| | | public class JkCabinetLogCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkCabinetLogService jkCabinetLogService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jkcabinetlog:create") |
| | | public ApiResponse create(@RequestBody JkCabinetLog jkCabinetLog) { |
| | | return ApiResponse.success(jkCabinetLogService.create(jkCabinetLog)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jkcabinetlog:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkCabinetLogService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jkcabinetlog:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkCabinetLogService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jkcabinetlog:update") |
| | | public ApiResponse updateById(@RequestBody JkCabinetLog jkCabinetLog) { |
| | | jkCabinetLogService.updateById(jkCabinetLog); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jkcabinetlog:query") |
| | | public ApiResponse<PageData<JkCabinetLog>> findPage (@RequestBody PageWrap<JkCabinetLog> pageWrap) { |
| | | return ApiResponse.success(jkCabinetLogService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jkcabinetlog:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkCabinetLog> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkCabinetLog.class).export(jkCabinetLogService.findPage(pageWrap).getRecords(), "é¥åæå¼å
³é¨è®°å½", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jkcabinetlog:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkCabinetLogService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkCustomer; |
| | | import com.doumee.service.business.JkCustomerService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-客æ·ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkCustomer") |
| | | public class JkCustomerCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkCustomerService jkCustomerService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jkcustomer:create") |
| | | public ApiResponse create(@RequestBody JkCustomer jkCustomer) { |
| | | return ApiResponse.success(jkCustomerService.create(jkCustomer)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jkcustomer:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkCustomerService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jkcustomer:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkCustomerService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jkcustomer:update") |
| | | public ApiResponse updateById(@RequestBody JkCustomer jkCustomer) { |
| | | jkCustomerService.updateById(jkCustomer); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jkcustomer:query") |
| | | public ApiResponse<PageData<JkCustomer>> findPage (@RequestBody PageWrap<JkCustomer> pageWrap) { |
| | | return ApiResponse.success(jkCustomerService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jkcustomer:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkCustomer> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkCustomer.class).export(jkCustomerService.findPage(pageWrap).getRecords(), "交æ§-客æ·ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jkcustomer:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkCustomerService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkIccard; |
| | | import com.doumee.service.business.JkIccardService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "é¥åæICå¡ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkIccard") |
| | | public class JkIccardCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkIccardService jkIccardService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jkiccard:create") |
| | | public ApiResponse create(@RequestBody JkIccard jkIccard) { |
| | | return ApiResponse.success(jkIccardService.create(jkIccard)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jkiccard:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkIccardService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jkiccard:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkIccardService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jkiccard:update") |
| | | public ApiResponse updateById(@RequestBody JkIccard jkIccard) { |
| | | jkIccardService.updateById(jkIccard); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jkiccard:query") |
| | | public ApiResponse<PageData<JkIccard>> findPage (@RequestBody PageWrap<JkIccard> pageWrap) { |
| | | return ApiResponse.success(jkIccardService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jkiccard:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkIccard> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkIccard.class).export(jkIccardService.findPage(pageWrap).getRecords(), "é¥åæICå¡ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jkiccard:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkIccardService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkKeys; |
| | | import com.doumee.service.business.JkKeysService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "é¥ååºæ¬ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkKeys") |
| | | public class JkKeysCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkKeysService jkKeysService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jkkeys:create") |
| | | public ApiResponse create(@RequestBody JkKeys jkKeys) { |
| | | return ApiResponse.success(jkKeysService.create(jkKeys)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jkkeys:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkKeysService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jkkeys:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkKeysService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jkkeys:update") |
| | | public ApiResponse updateById(@RequestBody JkKeys jkKeys) { |
| | | jkKeysService.updateById(jkKeys); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jkkeys:query") |
| | | public ApiResponse<PageData<JkKeys>> findPage (@RequestBody PageWrap<JkKeys> pageWrap) { |
| | | return ApiResponse.success(jkKeysService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jkkeys:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkKeys> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkKeys.class).export(jkKeysService.findPage(pageWrap).getRecords(), "é¥ååºæ¬ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jkkeys:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkKeysService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkLine; |
| | | import com.doumee.service.business.JkLineService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-线路信æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkLine") |
| | | public class JkLineCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkLineService jkLineService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jkline:create") |
| | | public ApiResponse create(@RequestBody JkLine jkLine) { |
| | | return ApiResponse.success(jkLineService.create(jkLine)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jkline:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkLineService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jkline:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkLineService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jkline:update") |
| | | public ApiResponse updateById(@RequestBody JkLine jkLine) { |
| | | jkLineService.updateById(jkLine); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jkline:query") |
| | | public ApiResponse<PageData<JkLine>> findPage (@RequestBody PageWrap<JkLine> pageWrap) { |
| | | return ApiResponse.success(jkLineService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jkline:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkLine> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkLine.class).export(jkLineService.findPage(pageWrap).getRecords(), "交æ§-线路信æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jkline:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkLineService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkOrders; |
| | | import com.doumee.service.business.JkOrdersService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-éå®è®¢åä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkOrders") |
| | | public class JkOrdersCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkOrdersService jkOrdersService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jkorders:create") |
| | | public ApiResponse create(@RequestBody JkOrders jkOrders) { |
| | | return ApiResponse.success(jkOrdersService.create(jkOrders)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jkorders:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkOrdersService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jkorders:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkOrdersService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jkorders:update") |
| | | public ApiResponse updateById(@RequestBody JkOrders jkOrders) { |
| | | jkOrdersService.updateById(jkOrders); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jkorders:query") |
| | | public ApiResponse<PageData<JkOrders>> findPage (@RequestBody PageWrap<JkOrders> pageWrap) { |
| | | return ApiResponse.success(jkOrdersService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jkorders:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkOrders> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkOrders.class).export(jkOrdersService.findPage(pageWrap).getRecords(), "交æ§-éå®è®¢åä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jkorders:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkOrdersService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkSketch; |
| | | import com.doumee.service.business.JkSketchService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkSketch") |
| | | public class JkSketchCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkSketchService jkSketchService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jksketch:create") |
| | | public ApiResponse create(@RequestBody JkSketch jkSketch) { |
| | | return ApiResponse.success(jkSketchService.create(jkSketch)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jksketch:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkSketchService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jksketch:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkSketchService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jksketch:update") |
| | | public ApiResponse updateById(@RequestBody JkSketch jkSketch) { |
| | | jkSketchService.updateById(jkSketch); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jksketch:query") |
| | | public ApiResponse<PageData<JkSketch>> findPage (@RequestBody PageWrap<JkSketch> pageWrap) { |
| | | return ApiResponse.success(jkSketchService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jksketch:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkSketch> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkSketch.class).export(jkSketchService.findPage(pageWrap).getRecords(), "交æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jksketch:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkSketchService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkSketchCustomer; |
| | | import com.doumee.service.business.JkSketchCustomerService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkSketchCustomer") |
| | | public class JkSketchCustomerCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkSketchCustomerService jkSketchCustomerService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jksketchcustomer:create") |
| | | public ApiResponse create(@RequestBody JkSketchCustomer jkSketchCustomer) { |
| | | return ApiResponse.success(jkSketchCustomerService.create(jkSketchCustomer)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jksketchcustomer:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkSketchCustomerService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jksketchcustomer:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkSketchCustomerService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jksketchcustomer:update") |
| | | public ApiResponse updateById(@RequestBody JkSketchCustomer jkSketchCustomer) { |
| | | jkSketchCustomerService.updateById(jkSketchCustomer); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jksketchcustomer:query") |
| | | public ApiResponse<PageData<JkSketchCustomer>> findPage (@RequestBody PageWrap<JkSketchCustomer> pageWrap) { |
| | | return ApiResponse.success(jkSketchCustomerService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jksketchcustomer:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkSketchCustomer> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkSketchCustomer.class).export(jkSketchCustomerService.findPage(pageWrap).getRecords(), "交æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jksketchcustomer:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkSketchCustomerService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkSketchLine; |
| | | import com.doumee.service.business.JkSketchLineService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkSketchLine") |
| | | public class JkSketchLineCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkSketchLineService jkSketchLineService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jksketchline:create") |
| | | public ApiResponse create(@RequestBody JkSketchLine jkSketchLine) { |
| | | return ApiResponse.success(jkSketchLineService.create(jkSketchLine)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jksketchline:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkSketchLineService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jksketchline:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkSketchLineService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jksketchline:update") |
| | | public ApiResponse updateById(@RequestBody JkSketchLine jkSketchLine) { |
| | | jkSketchLineService.updateById(jkSketchLine); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jksketchline:query") |
| | | public ApiResponse<PageData<JkSketchLine>> findPage (@RequestBody PageWrap<JkSketchLine> pageWrap) { |
| | | return ApiResponse.success(jkSketchLineService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jksketchline:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkSketchLine> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkSketchLine.class).export(jkSketchLineService.findPage(pageWrap).getRecords(), "交æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jksketchline:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkSketchLineService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.JkVersion; |
| | | import com.doumee.service.business.JkVersionService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "交æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/jkVersion") |
| | | public class JkVersionCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private JkVersionService jkVersionService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:jkversion:create") |
| | | public ApiResponse create(@RequestBody JkVersion jkVersion) { |
| | | return ApiResponse.success(jkVersionService.create(jkVersion)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:jkversion:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | jkVersionService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:jkversion:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | jkVersionService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:jkversion:update") |
| | | public ApiResponse updateById(@RequestBody JkVersion jkVersion) { |
| | | jkVersionService.updateById(jkVersion); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:jkversion:query") |
| | | public ApiResponse<PageData<JkVersion>> findPage (@RequestBody PageWrap<JkVersion> pageWrap) { |
| | | return ApiResponse.success(jkVersionService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:jkversion:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<JkVersion> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(JkVersion.class).export(jkVersionService.findPage(pageWrap).getRecords(), "交æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:jkversion:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(jkVersionService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.Warning; |
| | | import com.doumee.service.business.WarningService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "æ¥è¦è®°å½ä¿¡æ¯è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/warning") |
| | | public class WarningCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private WarningService warningService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:warning:create") |
| | | public ApiResponse create(@RequestBody Warning warning) { |
| | | return ApiResponse.success(warningService.create(warning)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:warning:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | warningService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:warning:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | warningService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:warning:update") |
| | | public ApiResponse updateById(@RequestBody Warning warning) { |
| | | warningService.updateById(warning); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:warning:query") |
| | | public ApiResponse<PageData<Warning>> findPage (@RequestBody PageWrap<Warning> pageWrap) { |
| | | return ApiResponse.success(warningService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:warning:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<Warning> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(Warning.class).export(warningService.findPage(pageWrap).getRecords(), "æ¥è¦è®°å½ä¿¡æ¯è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:warning:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(warningService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.WarningPush; |
| | | import com.doumee.service.business.WarningPushService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "æ¥è¦æ¨éè®°å½") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/warningPush") |
| | | public class WarningPushCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private WarningPushService warningPushService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:warningpush:create") |
| | | public ApiResponse create(@RequestBody WarningPush warningPush) { |
| | | return ApiResponse.success(warningPushService.create(warningPush)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:warningpush:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | warningPushService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:warningpush:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | warningPushService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:warningpush:update") |
| | | public ApiResponse updateById(@RequestBody WarningPush warningPush) { |
| | | warningPushService.updateById(warningPush); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:warningpush:query") |
| | | public ApiResponse<PageData<WarningPush>> findPage (@RequestBody PageWrap<WarningPush> pageWrap) { |
| | | return ApiResponse.success(warningPushService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:warningpush:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<WarningPush> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(WarningPush.class).export(warningPushService.findPage(pageWrap).getRecords(), "æ¥è¦æ¨éè®°å½", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:warningpush:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(warningPushService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.WarningRule; |
| | | import com.doumee.service.business.WarningRuleService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "æ¥è¦è§åé
置表") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/warningRule") |
| | | public class WarningRuleCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private WarningRuleService warningRuleService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:warningrule:create") |
| | | public ApiResponse create(@RequestBody WarningRule warningRule) { |
| | | return ApiResponse.success(warningRuleService.create(warningRule)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:warningrule:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | warningRuleService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:warningrule:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | warningRuleService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:warningrule:update") |
| | | public ApiResponse updateById(@RequestBody WarningRule warningRule) { |
| | | warningRuleService.updateById(warningRule); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:warningrule:query") |
| | | public ApiResponse<PageData<WarningRule>> findPage (@RequestBody PageWrap<WarningRule> pageWrap) { |
| | | return ApiResponse.success(warningRuleService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:warningrule:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<WarningRule> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(WarningRule.class).export(warningRuleService.findPage(pageWrap).getRecords(), "æ¥è¦è§åé
置表", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:warningrule:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(warningRuleService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.cloud.admin; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.config.annotation.CloudRequiredPermission; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.utils.Constants; |
| | | import com.doumee.dao.business.model.WarningRuleDetail; |
| | | import com.doumee.service.business.WarningRuleDetailService; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Api(tags = "æ¥è¦è§åé
ç½®æç»è¡¨") |
| | | @RestController |
| | | @RequestMapping(Constants.CLOUD_SERVICE_URL_INDEX+"/business/warningRuleDetail") |
| | | public class WarningRuleDetailCloudController extends BaseController { |
| | | |
| | | @Autowired |
| | | private WarningRuleDetailService warningRuleDetailService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("æ°å»º") |
| | | @PostMapping("/create") |
| | | @CloudRequiredPermission("business:warningruledetail:create") |
| | | public ApiResponse create(@RequestBody WarningRuleDetail warningRuleDetail) { |
| | | return ApiResponse.success(warningRuleDetailService.create(warningRuleDetail)); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDå é¤") |
| | | @GetMapping("/delete/{id}") |
| | | @CloudRequiredPermission("business:warningruledetail:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | warningRuleDetailService.deleteById(id); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ¹éå é¤") |
| | | @GetMapping("/delete/batch") |
| | | @CloudRequiredPermission("business:warningruledetail:delete") |
| | | public ApiResponse deleteByIdInBatch(@RequestParam String ids) { |
| | | String [] idArray = ids.split(","); |
| | | List<Integer> idList = new ArrayList<>(); |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | warningRuleDetailService.deleteByIdInBatch(idList); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDä¿®æ¹") |
| | | @PostMapping("/updateById") |
| | | @CloudRequiredPermission("business:warningruledetail:update") |
| | | public ApiResponse updateById(@RequestBody WarningRuleDetail warningRuleDetail) { |
| | | warningRuleDetailService.updateById(warningRuleDetail); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("å页æ¥è¯¢") |
| | | @PostMapping("/page") |
| | | @CloudRequiredPermission("business:warningruledetail:query") |
| | | public ApiResponse<PageData<WarningRuleDetail>> findPage (@RequestBody PageWrap<WarningRuleDetail> pageWrap) { |
| | | return ApiResponse.success(warningRuleDetailService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("导åºExcel") |
| | | @PostMapping("/exportExcel") |
| | | @CloudRequiredPermission("business:warningruledetail:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<WarningRuleDetail> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(WarningRuleDetail.class).export(warningRuleDetailService.findPage(pageWrap).getRecords(), "æ¥è¦è§åé
ç½®æç»è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | | @GetMapping("/{id}") |
| | | @CloudRequiredPermission("business:warningruledetail:query") |
| | | public ApiResponse findById(@PathVariable Integer id) { |
| | | return ApiResponse.success(warningRuleDetailService.findById(id)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkCabinetGrid; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkCabinetGridMapper extends BaseMapper<JkCabinetGrid> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkCabinetLog; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkCabinetLogMapper extends BaseMapper<JkCabinetLog> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkCabinet; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkCabinetMapper extends BaseMapper<JkCabinet> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkCustomer; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkCustomerMapper extends BaseMapper<JkCustomer> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkIccard; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkIccardMapper extends BaseMapper<JkIccard> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkKeys; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkKeysMapper extends BaseMapper<JkKeys> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkLine; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkLineMapper extends BaseMapper<JkLine> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkOrders; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkOrdersMapper extends BaseMapper<JkOrders> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkSketchCustomer; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkSketchCustomerMapper extends BaseMapper<JkSketchCustomer> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkSketchLine; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkSketchLineMapper extends BaseMapper<JkSketchLine> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkSketch; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkSketchMapper extends BaseMapper<JkSketch> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.JkVersion; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkVersionMapper extends BaseMapper<JkVersion> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.Warning; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface WarningMapper extends BaseMapper<Warning> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.WarningPush; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface WarningPushMapper extends BaseMapper<WarningPush> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.WarningRuleDetail; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface WarningRuleDetailMapper extends BaseMapper<WarningRuleDetail> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.doumee.dao.business.model.WarningRule; |
| | | |
| | | /** |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface WarningRuleMapper extends BaseMapper<WarningRule> { |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * é¥åæåºæ¬ä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("é¥åæåºæ¬ä¿¡æ¯è¡¨") |
| | | @TableName("`jk_cabinet`") |
| | | public class JkCabinet { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "设å¤ç¼å·") |
| | | @ExcelColumn(name="设å¤ç¼å·") |
| | | private String code; |
| | | |
| | | @ApiModelProperty(value = "设å¤åç§°") |
| | | @ExcelColumn(name="设å¤åç§°") |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "设å¤ID") |
| | | @ExcelColumn(name="设å¤ID") |
| | | private String devId; |
| | | |
| | | @ApiModelProperty(value = "åºåå·") |
| | | @ExcelColumn(name="åºåå·") |
| | | private String serialNo; |
| | | |
| | | @ApiModelProperty(value = "é讯å°å") |
| | | @ExcelColumn(name="é讯å°å") |
| | | private String linkAddr; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0æªç»å® 1å¨ä½ 2ååº", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0æªç»å® 1å¨ä½ 2ååº") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "端å£", example = "1") |
| | | @ExcelColumn(name="端å£") |
| | | private Integer port; |
| | | |
| | | @ApiModelProperty(value = "设å¤ç®¡çåç¼ç ï¼å
³èmember)", example = "1") |
| | | @ExcelColumn(name="设å¤ç®¡çåç¼ç ï¼å
³èmember)") |
| | | private Integer managerId; |
| | | |
| | | @ApiModelProperty(value = "ä½¿ç¨æ¶é¿(ç§)", example = "1") |
| | | @ExcelColumn(name="ä½¿ç¨æ¶é¿(ç§)") |
| | | private Integer useTime; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦åééªè¯ 0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦åééªè¯ 0å¦ 1æ¯") |
| | | private Integer doubleAuth; |
| | | |
| | | @ApiModelProperty(value = "éªè¯äººç¼ç ï¼å
³èmember)", example = "1") |
| | | @ExcelColumn(name="éªè¯äººç¼ç ï¼å
³èmember)") |
| | | private Integer authMemberId; |
| | | |
| | | @ApiModelProperty(value = "ææ°", example = "1") |
| | | @ExcelColumn(name="ææ°") |
| | | private Integer rowNum; |
| | | |
| | | @ApiModelProperty(value = "åæ°", example = "1") |
| | | @ExcelColumn(name="åæ°") |
| | | private Integer columnNum; |
| | | |
| | | @ApiModelProperty(value = "æåé讯æ¶é´") |
| | | @ExcelColumn(name="æåé讯æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date haertTime; |
| | | |
| | | @ApiModelProperty(value = "æå¨ä½ç½®") |
| | | @ExcelColumn(name="æå¨ä½ç½®") |
| | | private String lacation; |
| | | |
| | | @ApiModelProperty(value = "ç»åº¦", example = "1") |
| | | @ExcelColumn(name="ç»åº¦") |
| | | private BigDecimal longitude; |
| | | |
| | | @ApiModelProperty(value = "维度", example = "1") |
| | | @ExcelColumn(name="维度") |
| | | private BigDecimal latitude; |
| | | |
| | | @ApiModelProperty(value = "ç¼ç æ¹å¼ 0èªå¨ç¼ç 1æå¨ç¼ç ", example = "1") |
| | | @ExcelColumn(name="ç¼ç æ¹å¼ 0èªå¨ç¼ç 1æå¨ç¼ç ") |
| | | private Integer noType; |
| | | |
| | | @ApiModelProperty(value = "ç¼ç åç¼") |
| | | @ExcelColumn(name="ç¼ç åç¼") |
| | | private String noPrefix; |
| | | |
| | | @ApiModelProperty(value = "ç¼ç 使°", example = "1") |
| | | @ExcelColumn(name="ç¼ç 使°") |
| | | private Integer noLength; |
| | | |
| | | @ApiModelProperty(value = "èµ·å§ç¼ç ", example = "1") |
| | | @ExcelColumn(name="èµ·å§ç¼ç ") |
| | | private Integer noIndex; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨") |
| | | @TableName("`jk_cabinet_grid`") |
| | | public class JkCabinetGrid { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "é¥åæç¼ç ï¼å
³èjk_cabinet)", example = "1") |
| | | @ExcelColumn(name="é¥åæç¼ç ï¼å
³èjk_cabinet)") |
| | | private Integer cabinetId; |
| | | |
| | | @ApiModelProperty(value = "ç¼ç ") |
| | | @ExcelColumn(name="ç¼ç ") |
| | | private String code; |
| | | |
| | | @ApiModelProperty(value = "é¥åç¼ç ï¼å
³èjk_keys)", example = "1") |
| | | @ExcelColumn(name="é¥åç¼ç ï¼å
³èjk_keys)") |
| | | private Integer keyId; |
| | | |
| | | @ApiModelProperty(value = "åºåå·") |
| | | @ExcelColumn(name="åºåå·") |
| | | private String serialNo; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0æªç»å® 1å¨ä½ 2ååº", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0æªç»å® 1å¨ä½ 2ååº") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "è¿è¡ç¶æ", example = "1") |
| | | @ExcelColumn(name="è¿è¡ç¶æ") |
| | | private Integer workingStatus; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * é¥åæå¼å
³é¨è®°å½ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("é¥åæå¼å
³é¨è®°å½") |
| | | @TableName("`jk_cabinet_log`") |
| | | public class JkCabinetLog { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "é¥åæç¼ç ï¼å
³èjk_cabinet)", example = "1") |
| | | @ExcelColumn(name="é¥åæç¼ç ï¼å
³èjk_cabinet)") |
| | | private Integer cabinetId; |
| | | |
| | | @ApiModelProperty(value = "é¥åææ ¼ç¼ç (å
³èjk_cabinet_grid)", example = "1") |
| | | @ExcelColumn(name="é¥åææ ¼ç¼ç (å
³èjk_cabinet_grid)") |
| | | private Integer gridId; |
| | | |
| | | @ApiModelProperty(value = "éªè¯æ¹å¼ 0å·è¸ 1å·å¡", example = "1") |
| | | @ExcelColumn(name="éªè¯æ¹å¼ 0å·è¸ 1å·å¡") |
| | | private Integer authType; |
| | | |
| | | @ApiModelProperty(value = "车è¾ç¼ç ï¼å
³ècars)", example = "1") |
| | | @ExcelColumn(name="车è¾ç¼ç ï¼å
³ècars)") |
| | | private Integer carId; |
| | | |
| | | @ApiModelProperty(value = "é¥åç¼ç (å
³èjk_keys)", example = "1") |
| | | @ExcelColumn(name="é¥åç¼ç (å
³èjk_keys)") |
| | | private Integer keyId; |
| | | |
| | | @ApiModelProperty(value = "人åç¼ç ï¼å
³èmember)", example = "1") |
| | | @ExcelColumn(name="人åç¼ç ï¼å
³èmember)") |
| | | private Integer memberId; |
| | | |
| | | @ApiModelProperty(value = "é¥åä¿¡æ¯ï¼è½¦çå·-é¥åç¼ç ï¼") |
| | | @ExcelColumn(name="é¥åä¿¡æ¯ï¼è½¦çå·-é¥åç¼ç ï¼") |
| | | private String keyInfo; |
| | | |
| | | @ApiModelProperty(value = "é¢åè§å 0é车 1éæ´¾è½¦å", example = "1") |
| | | @ExcelColumn(name="é¢åè§å 0é车 1éæ´¾è½¦å") |
| | | private Integer roleType; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0æå 1失败", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0æå 1失败") |
| | | private Integer status; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * 交æ§-客æ·ä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("交æ§-客æ·ä¿¡æ¯è¡¨") |
| | | @TableName("`jk_customer`") |
| | | public class JkCustomer { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "åç§°", example = "1") |
| | | @ExcelColumn(name="åç§°") |
| | | private Integer name; |
| | | |
| | | @ApiModelProperty(value = "ç¼ç ", example = "1") |
| | | @ExcelColumn(name="ç¼ç ") |
| | | private Integer code; |
| | | |
| | | @ApiModelProperty(value = "æå¨ä½ç½®") |
| | | @ExcelColumn(name="æå¨ä½ç½®") |
| | | private String lacation; |
| | | |
| | | @ApiModelProperty(value = "ç»åº¦", example = "1") |
| | | @ExcelColumn(name="ç»åº¦") |
| | | private BigDecimal longitude; |
| | | |
| | | @ApiModelProperty(value = "维度", example = "1") |
| | | @ExcelColumn(name="维度") |
| | | private BigDecimal latitude; |
| | | |
| | | @ApiModelProperty(value = "é
é卿") |
| | | @ExcelColumn(name="é
é卿") |
| | | private String weeks; |
| | | |
| | | @ApiModelProperty(value = "é货路线ç¼ç ï¼å
³èjk_line)", example = "1") |
| | | @ExcelColumn(name="é货路线ç¼ç ï¼å
³èjk_line)") |
| | | private Integer lineId; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0æ£å¸¸ ç¦ç¨", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0æ£å¸¸ ç¦ç¨") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "æåºç ", example = "1") |
| | | @ExcelColumn(name="æåºç ") |
| | | private Integer sortnum; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * é¥åæICå¡ä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("é¥åæICå¡ä¿¡æ¯è¡¨") |
| | | @TableName("`jk_iccard`") |
| | | public class JkIccard { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "人åç¼ç ç¼ç ï¼å
³èmember)", example = "1") |
| | | @ExcelColumn(name="人åç¼ç ç¼ç ï¼å
³èmember)") |
| | | private Integer memberId; |
| | | |
| | | @ApiModelProperty(value = "ç¼ç ") |
| | | @ExcelColumn(name="ç¼ç ") |
| | | private String code; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0ç¦ç¨ 1å¯ç¨", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0ç¦ç¨ 1å¯ç¨") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "å¡åç§°") |
| | | @ExcelColumn(name="å¡åç§°") |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "é¥åæç¼ç ï¼å
³èjk_cabinet)", example = "1") |
| | | @ExcelColumn(name="é¥åæç¼ç ï¼å
³èjk_cabinet)") |
| | | private Integer cabinetId; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * é¥ååºæ¬ä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("é¥ååºæ¬ä¿¡æ¯è¡¨") |
| | | @TableName("`jk_keys`") |
| | | public class JkKeys { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "é¥åç¼å·", example = "1") |
| | | @ExcelColumn(name="é¥åç¼å·") |
| | | private Integer code; |
| | | |
| | | @ApiModelProperty(value = "车çå·") |
| | | @ExcelColumn(name="车çå·") |
| | | private String carCode; |
| | | |
| | | @ApiModelProperty(value = "æå±è½¦è¾(å
³ècars)", example = "1") |
| | | @ExcelColumn(name="æå±è½¦è¾(å
³ècars)") |
| | | private Integer carId; |
| | | |
| | | @ApiModelProperty(value = "RFIDæ ç¾") |
| | | @ExcelColumn(name="RFIDæ ç¾") |
| | | private String rfidLable; |
| | | |
| | | @ApiModelProperty(value = "é¢åè§å 0é车 1éæ´¾è½¦å", example = "1") |
| | | @ExcelColumn(name="é¢åè§å 0é车 1éæ´¾è½¦å") |
| | | private Integer roleType; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0æªç»å® 1å¨ä½ 2ååº", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0æªç»å® 1å¨ä½ 2ååº") |
| | | private Integer status; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 交æ§-线路信æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("交æ§-线路信æ¯è¡¨") |
| | | @TableName("`jk_line`") |
| | | public class JkLine { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "åç§°", example = "1") |
| | | @ExcelColumn(name="åç§°") |
| | | private Integer name; |
| | | |
| | | @ApiModelProperty(value = "çç»ç¼ç ï¼å
³ècategoryï¼", example = "1") |
| | | @ExcelColumn(name="çç»ç¼ç ï¼å
³ècategoryï¼") |
| | | private Integer categoryId; |
| | | |
| | | @ApiModelProperty(value = "æå±è½¦è¾(å
³ècars)", example = "1") |
| | | @ExcelColumn(name="æå±è½¦è¾(å
³ècars)") |
| | | private Integer carId; |
| | | |
| | | @ApiModelProperty(value = "æå¤§å®¢æ·é", example = "1") |
| | | @ExcelColumn(name="æå¤§å®¢æ·é") |
| | | private Integer maxCustomer; |
| | | |
| | | @ApiModelProperty(value = "æå¤§è®¢åé", example = "1") |
| | | @ExcelColumn(name="æå¤§è®¢åé") |
| | | private Integer maxOrder; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0æªç»å® 1å¨ä½ 2ååº", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0æªç»å® 1å¨ä½ 2ååº") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "æåºç ", example = "1") |
| | | @ExcelColumn(name="æåºç ") |
| | | private Integer sortnum; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 交æ§-éå®è®¢åä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("交æ§-éå®è®¢åä¿¡æ¯è¡¨") |
| | | @TableName("`jk_orders`") |
| | | public class JkOrders { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "åç§°", example = "1") |
| | | @ExcelColumn(name="åç§°") |
| | | private Integer name; |
| | | |
| | | @ApiModelProperty(value = "éé", example = "1") |
| | | @ExcelColumn(name="éé") |
| | | private Integer num; |
| | | |
| | | @ApiModelProperty(value = "é货路线ç¼ç ï¼å
³èjk_line)", example = "1") |
| | | @ExcelColumn(name="é货路线ç¼ç ï¼å
³èjk_line)") |
| | | private Integer lineId; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0æ£å¸¸ ç¦ç¨", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0æ£å¸¸ ç¦ç¨") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "æåºç ", example = "1") |
| | | @ExcelColumn(name="æåºç ") |
| | | private Integer sortnum; |
| | | |
| | | @ApiModelProperty(value = "æ¥æ") |
| | | @ExcelColumn(name="æ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date dateInfo; |
| | | |
| | | @ApiModelProperty(value = "åçç»é´å®¢æ·ä½ç½®è·ç¦»æ°ç»ï¼[{a:12,b:100},{a:13,b:200},...],aï¼å®¢æ·ç¼ç ï¼bï¼ä¸å®¢æ·aä¹é´çè·ç¦»") |
| | | @ExcelColumn(name="åçç»é´å®¢æ·ä½ç½®è·ç¦»æ°ç»ï¼[{a:12,b:100},{a:13,b:200},...],aï¼å®¢æ·ç¼ç ï¼bï¼ä¸å®¢æ·aä¹é´çè·ç¦»") |
| | | private String distances; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 交æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("交æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨") |
| | | @TableName("`jk_sketch`") |
| | | public class JkSketch { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "主线路ç¼ç ï¼å
³ècategory)", example = "1") |
| | | @ExcelColumn(name="主线路ç¼ç ï¼å
³ècategory)") |
| | | private Integer categoryId; |
| | | |
| | | @ApiModelProperty(value = "éè´§é", example = "1") |
| | | @ExcelColumn(name="éè´§é") |
| | | private Integer totalNum; |
| | | |
| | | @ApiModelProperty(value = "å®¢æ·æ°", example = "1") |
| | | @ExcelColumn(name="å®¢æ·æ°") |
| | | private Integer orderNum; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0æªä¼å 1ä¼åä¸ 2å·²ä¼å", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0æªä¼å 1ä¼åä¸ 2å·²ä¼å") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "æåºç ", example = "1") |
| | | @ExcelColumn(name="æåºç ") |
| | | private Integer sortnum; |
| | | |
| | | @ApiModelProperty(value = "æ¥æ") |
| | | @ExcelColumn(name="æ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date dateInfo; |
| | | |
| | | @ApiModelProperty(value = "ä¼åè®°å½ç¼ç (ä½ä¸ºkeyå¼åredisï¼") |
| | | @ExcelColumn(name="ä¼åè®°å½ç¼ç (ä½ä¸ºkeyå¼åredisï¼") |
| | | private String jobId; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 交æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("交æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨") |
| | | @TableName("`jk_sketch_customer`") |
| | | public class JkSketchCustomer { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "线路ç¼ç ï¼å
³èjk_sketch_line)", example = "1") |
| | | @ExcelColumn(name="线路ç¼ç ï¼å
³èjk_sketch_line)") |
| | | private Integer sketchLineId; |
| | | |
| | | @ApiModelProperty(value = "线路ä¼åç¼ç ï¼å
³èjk_sketch)", example = "1") |
| | | @ExcelColumn(name="线路ä¼åç¼ç ï¼å
³èjk_sketch)") |
| | | private Integer sketchId; |
| | | |
| | | @ApiModelProperty(value = "éè´§é", example = "1") |
| | | @ExcelColumn(name="éè´§é") |
| | | private Integer totalNum; |
| | | |
| | | @ApiModelProperty(value = "å®¢æ·æ°", example = "1") |
| | | @ExcelColumn(name="å®¢æ·æ°") |
| | | private Integer orderNum; |
| | | |
| | | @ApiModelProperty(value = "æåºç ", example = "1") |
| | | @ExcelColumn(name="æåºç ") |
| | | private Integer sortnum; |
| | | |
| | | @ApiModelProperty(value = "æ¥æ") |
| | | @ExcelColumn(name="æ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date dateInfo; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 交æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("交æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨") |
| | | @TableName("`jk_sketch_line`") |
| | | public class JkSketchLine { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "线路ç¼ç ï¼å
³èjk_line)", example = "1") |
| | | @ExcelColumn(name="线路ç¼ç ï¼å
³èjk_line)") |
| | | private Integer lineId; |
| | | |
| | | @ApiModelProperty(value = "线路ä¼åç¼ç ï¼å
³èjk_sketch)", example = "1") |
| | | @ExcelColumn(name="线路ä¼åç¼ç ï¼å
³èjk_sketch)") |
| | | private Integer sketchId; |
| | | |
| | | @ApiModelProperty(value = "éè´§é", example = "1") |
| | | @ExcelColumn(name="éè´§é") |
| | | private Integer totalNum; |
| | | |
| | | @ApiModelProperty(value = "å®¢æ·æ°", example = "1") |
| | | @ExcelColumn(name="å®¢æ·æ°") |
| | | private Integer orderNum; |
| | | |
| | | @ApiModelProperty(value = "æåºç ", example = "1") |
| | | @ExcelColumn(name="æåºç ") |
| | | private Integer sortnum; |
| | | |
| | | @ApiModelProperty(value = "æ¥æ") |
| | | @ExcelColumn(name="æ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date dateInfo; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 交æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("交æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨") |
| | | @TableName("`jk_version`") |
| | | public class JkVersion { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "çæ¬å·") |
| | | @ExcelColumn(name="çæ¬å·") |
| | | private String versionInfo; |
| | | |
| | | @ApiModelProperty(value = "å®è£
å
è·¯å¾") |
| | | @ExcelColumn(name="å®è£
å
è·¯å¾") |
| | | private String fileUrl; |
| | | |
| | | @ApiModelProperty(value = "å®è£
çåç§°") |
| | | @ExcelColumn(name="å®è£
çåç§°") |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æè¿°") |
| | | @ExcelColumn(name="æ´æ°æè¿°") |
| | | private String content; |
| | | |
| | | @ApiModelProperty(value = "æåºç ", example = "1") |
| | | @ExcelColumn(name="æåºç ") |
| | | private Integer sortnum; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ é¢") |
| | | @ExcelColumn(name="æ´æ°æ é¢") |
| | | private String title; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å¼ºå¶æ´æ° 0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å¼ºå¶æ´æ° 0å¦ 1æ¯") |
| | | private Integer isForce; |
| | | |
| | | @ApiModelProperty(value = "å¹³å°ç±»å 0Android 1IOS", example = "1") |
| | | @ExcelColumn(name="å¹³å°ç±»å 0Android 1IOS") |
| | | private Integer type; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * æ¥è¦è®°å½ä¿¡æ¯è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("æ¥è¦è®°å½ä¿¡æ¯è¡¨") |
| | | @TableName("`warning`") |
| | | public class Warning { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "æ¶é´åç§°") |
| | | @ExcelColumn(name="æ¶é´åç§°") |
| | | private String name; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "ç±»å 0=å®é²äºä»¶ï¼1=æ¶é²äºä»¶ï¼2=车载äºä»¶ï¼3=é¥åæäºä»¶ï¼ 4=天æ°é¢è¦ï¼", example = "1") |
| | | @ExcelColumn(name="ç±»å 0=å®é²äºä»¶ï¼1=æ¶é²äºä»¶ï¼2=车载äºä»¶ï¼3=é¥åæäºä»¶ï¼ 4=天æ°é¢è¦ï¼") |
| | | private Integer type; |
| | | |
| | | @ApiModelProperty(value = "å
³è对象ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å
³è对象ç¼ç ") |
| | | private Integer objId; |
| | | |
| | | @ApiModelProperty(value = "å
³è对象类å", example = "1") |
| | | @ExcelColumn(name="å
³è对象类å") |
| | | private Integer objType; |
| | | |
| | | @ApiModelProperty(value = "ç¼ç ") |
| | | @ExcelColumn(name="ç¼ç ") |
| | | private String code; |
| | | |
| | | @ApiModelProperty(value = "æåºç ") |
| | | @ExcelColumn(name="æåºç ") |
| | | private String sortnum; |
| | | |
| | | @ApiModelProperty(value = "äºä»¶ç级 0ä½ 1ä¸ 2é«", example = "1") |
| | | @ExcelColumn(name="äºä»¶ç级 0ä½ 1ä¸ 2é«") |
| | | private Integer level; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0ç¦ç¨ 1å¯ç¨", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0ç¦ç¨ 1å¯ç¨") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "订é
ç¶æ 0æªè®¢é
1订é
æå 2订é
失败", example = "1") |
| | | @ExcelColumn(name="订é
ç¶æ 0æªè®¢é
1订é
æå 2订é
失败") |
| | | private Integer subscribeStatus; |
| | | |
| | | @ApiModelProperty(value = "订é
æ¶é´") |
| | | @ExcelColumn(name="订é
æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date subscribeDate; |
| | | |
| | | @ApiModelProperty(value = "订é
夿³¨") |
| | | @ExcelColumn(name="订é
夿³¨") |
| | | private String subscribeInfo; |
| | | |
| | | @ApiModelProperty(value = "订é
ç¨æ·(å
³èmember)", example = "1") |
| | | @ExcelColumn(name="订é
ç¨æ·(å
³èmember)") |
| | | private Integer subscribeMemberId; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * æ¥è¦æ¨éè®°å½ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("æ¥è¦æ¨éè®°å½") |
| | | @TableName("`warning_push`") |
| | | public class WarningPush { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "人åç¼ç ï¼å
³èmember)", example = "1") |
| | | @ExcelColumn(name="人åç¼ç ï¼å
³èmember)") |
| | | private Integer memberId; |
| | | |
| | | @ApiModelProperty(value = "äºä»¶ç¼ç (å
³èwarningï¼", example = "1") |
| | | @ExcelColumn(name="äºä»¶ç¼ç (å
³èwarningï¼") |
| | | private Integer warningId; |
| | | |
| | | @ApiModelProperty(value = "æ¥è¦æ é¢") |
| | | @ExcelColumn(name="æ¥è¦æ é¢") |
| | | private String title; |
| | | |
| | | @ApiModelProperty(value = "æ¥è¦å
容") |
| | | @ExcelColumn(name="æ¥è¦å
容") |
| | | private String content; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0æªæ¨é 1æ¨éæå2æ¨é失败", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0æªæ¨é 1æ¨éæå2æ¨é失败") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "æ¨éç»æ", example = "1") |
| | | @ExcelColumn(name="æ¨éç»æ") |
| | | private Integer pushInfo; |
| | | |
| | | @ApiModelProperty(value = "äºä»¶å
容") |
| | | @ExcelColumn(name="äºä»¶å
容") |
| | | private String eventInfo; |
| | | |
| | | @ApiModelProperty(value = "æ¨éæ è¯") |
| | | @ExcelColumn(name="æ¨éæ è¯") |
| | | private String pushId; |
| | | |
| | | @ApiModelProperty(value = "æ¨éæ¶é´") |
| | | @ExcelColumn(name="æ¨éæ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date pushDate; |
| | | |
| | | @ApiModelProperty(value = "æ¨éæ¹å¼ 0éééç¥", example = "1") |
| | | @ExcelColumn(name="æ¨éæ¹å¼ 0éééç¥") |
| | | private Integer pushType; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * æ¥è¦è§åé
置表 |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("æ¥è¦è§åé
置表") |
| | | @TableName("`warning_rule`") |
| | | public class WarningRule { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "å
é¨äººåç¼ç ï¼å
³èmember)", example = "1") |
| | | @ExcelColumn(name="å
é¨äººåç¼ç ï¼å
³èmember)") |
| | | private Integer memberId; |
| | | |
| | | @ApiModelProperty(value = "å¤è§åé´éæ¶é´(ç§ï¼", example = "1") |
| | | @ExcelColumn(name="å¤è§åé´éæ¶é´(ç§ï¼") |
| | | private Integer intervalSec; |
| | | |
| | | @ApiModelProperty(value = "æåºç ") |
| | | @ExcelColumn(name="æåºç ") |
| | | private String sortnum; |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0ç¦ç¨ 1å¯ç¨", example = "1") |
| | | @ExcelColumn(name="ç¶æ 0ç¦ç¨ 1å¯ç¨") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "æ¥è¦ç±»åç¼ç (å
³èwarningï¼", example = "1") |
| | | @ExcelColumn(name="æ¥è¦ç±»åç¼ç (å
³èwarningï¼") |
| | | private Integer warningId; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.dao.business.model; |
| | | |
| | | import com.doumee.core.annotation.excel.ExcelColumn; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import lombok.Data; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * æ¥è¦è§åé
ç½®æç»è¡¨ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Data |
| | | @ApiModel("æ¥è¦è§åé
ç½®æç»è¡¨") |
| | | @TableName("`warning_rule_detail`") |
| | | public class WarningRuleDetail { |
| | | |
| | | @ApiModelProperty(value = "主é®", example = "1") |
| | | @ExcelColumn(name="主é®") |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "å建人ç¼ç ", example = "1") |
| | | @ExcelColumn(name="å建人ç¼ç ") |
| | | private Integer creator; |
| | | |
| | | @ApiModelProperty(value = "å建æ¶é´") |
| | | @ExcelColumn(name="å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createDate; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°äººç¼ç ", example = "1") |
| | | @ExcelColumn(name="æ´æ°äººç¼ç ") |
| | | private Integer editor; |
| | | |
| | | @ApiModelProperty(value = "æ´æ°æ¶é´") |
| | | @ExcelColumn(name="æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date editDate; |
| | | |
| | | @ApiModelProperty(value = "æ¯å¦å é¤0å¦ 1æ¯", example = "1") |
| | | @ExcelColumn(name="æ¯å¦å é¤0å¦ 1æ¯") |
| | | private Integer isdeleted; |
| | | |
| | | @ApiModelProperty(value = "夿³¨") |
| | | @ExcelColumn(name="夿³¨") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "è§åç¼ç ï¼å
³èwarning_rule)", example = "1") |
| | | @ExcelColumn(name="è§åç¼ç ï¼å
³èwarning_rule)") |
| | | private Integer ruleId; |
| | | |
| | | @ApiModelProperty(value = "æ¥è¦ç±»åç¼ç (å
³èwarningï¼", example = "1") |
| | | @ExcelColumn(name="æ¥è¦ç±»åç¼ç (å
³èwarningï¼") |
| | | private Integer warningId; |
| | | |
| | | @ApiModelProperty(value = "å¤è§åé´éæ¶é´(ç§ï¼", example = "1") |
| | | @ExcelColumn(name="å¤è§åé´éæ¶é´(ç§ï¼") |
| | | private Integer regionCode; |
| | | |
| | | @ApiModelProperty(value = "æåºç ") |
| | | @ExcelColumn(name="æåºç ") |
| | | private String sortnum; |
| | | |
| | | @ApiModelProperty(value = "åºååç§°") |
| | | @ExcelColumn(name="åºååç§°") |
| | | private String regionName; |
| | | |
| | | @ApiModelProperty(value = "åºå主é®") |
| | | @ExcelColumn(name="åºå主é®") |
| | | private String regionId; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | //import com.doumee.service.business.third.model.PageData; |
| | | //import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkCabinetGrid; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkCabinetGridService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkCabinetGrid å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkCabinetGrid jkCabinetGrid); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkCabinetGrid å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkCabinetGrid jkCabinetGrid); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkCabinetGrid å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkCabinetGrid jkCabinetGrid); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkCabinetGrids å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkCabinetGrid> jkCabinetGrids); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkCabinetGrid |
| | | */ |
| | | JkCabinetGrid findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkCabinetGrid å®ä½å¯¹è±¡ |
| | | * @return JkCabinetGrid |
| | | */ |
| | | JkCabinetGrid findOne(JkCabinetGrid jkCabinetGrid); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkCabinetGrid å®ä½å¯¹è±¡ |
| | | * @return List<JkCabinetGrid> |
| | | */ |
| | | List<JkCabinetGrid> findList(JkCabinetGrid jkCabinetGrid); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkCabinetGrid> |
| | | */ |
| | | PageData<JkCabinetGrid> findPage(PageWrap<JkCabinetGrid> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkCabinetGrid å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkCabinetGrid jkCabinetGrid); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkCabinetLog; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¥åæå¼å
³é¨è®°å½Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkCabinetLogService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkCabinetLog å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkCabinetLog jkCabinetLog); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkCabinetLog å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkCabinetLog jkCabinetLog); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkCabinetLog å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkCabinetLog jkCabinetLog); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkCabinetLogs å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkCabinetLog> jkCabinetLogs); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkCabinetLog |
| | | */ |
| | | JkCabinetLog findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkCabinetLog å®ä½å¯¹è±¡ |
| | | * @return JkCabinetLog |
| | | */ |
| | | JkCabinetLog findOne(JkCabinetLog jkCabinetLog); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkCabinetLog å®ä½å¯¹è±¡ |
| | | * @return List<JkCabinetLog> |
| | | */ |
| | | List<JkCabinetLog> findList(JkCabinetLog jkCabinetLog); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkCabinetLog> |
| | | */ |
| | | PageData<JkCabinetLog> findPage(PageWrap<JkCabinetLog> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkCabinetLog å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkCabinetLog jkCabinetLog); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkCabinet; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¥åæåºæ¬ä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkCabinetService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkCabinet å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkCabinet jkCabinet); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkCabinet å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkCabinet jkCabinet); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkCabinet å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkCabinet jkCabinet); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkCabinets å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkCabinet> jkCabinets); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkCabinet |
| | | */ |
| | | JkCabinet findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkCabinet å®ä½å¯¹è±¡ |
| | | * @return JkCabinet |
| | | */ |
| | | JkCabinet findOne(JkCabinet jkCabinet); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkCabinet å®ä½å¯¹è±¡ |
| | | * @return List<JkCabinet> |
| | | */ |
| | | List<JkCabinet> findList(JkCabinet jkCabinet); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkCabinet> |
| | | */ |
| | | PageData<JkCabinet> findPage(PageWrap<JkCabinet> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkCabinet å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkCabinet jkCabinet); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkCustomer; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-客æ·ä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkCustomerService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkCustomer å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkCustomer jkCustomer); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkCustomer å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkCustomer jkCustomer); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkCustomer å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkCustomer jkCustomer); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkCustomers å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkCustomer> jkCustomers); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkCustomer |
| | | */ |
| | | JkCustomer findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkCustomer å®ä½å¯¹è±¡ |
| | | * @return JkCustomer |
| | | */ |
| | | JkCustomer findOne(JkCustomer jkCustomer); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkCustomer å®ä½å¯¹è±¡ |
| | | * @return List<JkCustomer> |
| | | */ |
| | | List<JkCustomer> findList(JkCustomer jkCustomer); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkCustomer> |
| | | */ |
| | | PageData<JkCustomer> findPage(PageWrap<JkCustomer> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkCustomer å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkCustomer jkCustomer); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkIccard; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¥åæICå¡ä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkIccardService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkIccard å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkIccard jkIccard); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkIccard å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkIccard jkIccard); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkIccard å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkIccard jkIccard); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkIccards å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkIccard> jkIccards); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkIccard |
| | | */ |
| | | JkIccard findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkIccard å®ä½å¯¹è±¡ |
| | | * @return JkIccard |
| | | */ |
| | | JkIccard findOne(JkIccard jkIccard); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkIccard å®ä½å¯¹è±¡ |
| | | * @return List<JkIccard> |
| | | */ |
| | | List<JkIccard> findList(JkIccard jkIccard); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkIccard> |
| | | */ |
| | | PageData<JkIccard> findPage(PageWrap<JkIccard> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkIccard å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkIccard jkIccard); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkKeys; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¥ååºæ¬ä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkKeysService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkKeys å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkKeys jkKeys); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkKeys å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkKeys jkKeys); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkKeys å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkKeys jkKeys); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkKeyss å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkKeys> jkKeyss); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkKeys |
| | | */ |
| | | JkKeys findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkKeys å®ä½å¯¹è±¡ |
| | | * @return JkKeys |
| | | */ |
| | | JkKeys findOne(JkKeys jkKeys); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkKeys å®ä½å¯¹è±¡ |
| | | * @return List<JkKeys> |
| | | */ |
| | | List<JkKeys> findList(JkKeys jkKeys); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkKeys> |
| | | */ |
| | | PageData<JkKeys> findPage(PageWrap<JkKeys> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkKeys å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkKeys jkKeys); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkLine; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-线路信æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkLineService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkLine å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkLine jkLine); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkLine å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkLine jkLine); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkLine å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkLine jkLine); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkLines å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkLine> jkLines); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkLine |
| | | */ |
| | | JkLine findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkLine å®ä½å¯¹è±¡ |
| | | * @return JkLine |
| | | */ |
| | | JkLine findOne(JkLine jkLine); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkLine å®ä½å¯¹è±¡ |
| | | * @return List<JkLine> |
| | | */ |
| | | List<JkLine> findList(JkLine jkLine); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkLine> |
| | | */ |
| | | PageData<JkLine> findPage(PageWrap<JkLine> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkLine å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkLine jkLine); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkOrders; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-éå®è®¢åä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkOrdersService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkOrders å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkOrders jkOrders); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkOrders å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkOrders jkOrders); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkOrders å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkOrders jkOrders); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkOrderss å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkOrders> jkOrderss); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkOrders |
| | | */ |
| | | JkOrders findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkOrders å®ä½å¯¹è±¡ |
| | | * @return JkOrders |
| | | */ |
| | | JkOrders findOne(JkOrders jkOrders); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkOrders å®ä½å¯¹è±¡ |
| | | * @return List<JkOrders> |
| | | */ |
| | | List<JkOrders> findList(JkOrders jkOrders); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkOrders> |
| | | */ |
| | | PageData<JkOrders> findPage(PageWrap<JkOrders> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkOrders å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkOrders jkOrders); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkSketchCustomer; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkSketchCustomerService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkSketchCustomer å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkSketchCustomer jkSketchCustomer); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkSketchCustomer å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkSketchCustomer jkSketchCustomer); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkSketchCustomer å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkSketchCustomer jkSketchCustomer); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkSketchCustomers å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkSketchCustomer> jkSketchCustomers); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkSketchCustomer |
| | | */ |
| | | JkSketchCustomer findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkSketchCustomer å®ä½å¯¹è±¡ |
| | | * @return JkSketchCustomer |
| | | */ |
| | | JkSketchCustomer findOne(JkSketchCustomer jkSketchCustomer); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkSketchCustomer å®ä½å¯¹è±¡ |
| | | * @return List<JkSketchCustomer> |
| | | */ |
| | | List<JkSketchCustomer> findList(JkSketchCustomer jkSketchCustomer); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkSketchCustomer> |
| | | */ |
| | | PageData<JkSketchCustomer> findPage(PageWrap<JkSketchCustomer> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkSketchCustomer å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkSketchCustomer jkSketchCustomer); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkSketchLine; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkSketchLineService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkSketchLine å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkSketchLine jkSketchLine); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkSketchLine å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkSketchLine jkSketchLine); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkSketchLine å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkSketchLine jkSketchLine); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkSketchLines å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkSketchLine> jkSketchLines); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkSketchLine |
| | | */ |
| | | JkSketchLine findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkSketchLine å®ä½å¯¹è±¡ |
| | | * @return JkSketchLine |
| | | */ |
| | | JkSketchLine findOne(JkSketchLine jkSketchLine); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkSketchLine å®ä½å¯¹è±¡ |
| | | * @return List<JkSketchLine> |
| | | */ |
| | | List<JkSketchLine> findList(JkSketchLine jkSketchLine); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkSketchLine> |
| | | */ |
| | | PageData<JkSketchLine> findPage(PageWrap<JkSketchLine> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkSketchLine å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkSketchLine jkSketchLine); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkSketch; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkSketchService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkSketch å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkSketch jkSketch); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkSketch å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkSketch jkSketch); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkSketch å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkSketch jkSketch); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkSketchs å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkSketch> jkSketchs); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkSketch |
| | | */ |
| | | JkSketch findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkSketch å®ä½å¯¹è±¡ |
| | | * @return JkSketch |
| | | */ |
| | | JkSketch findOne(JkSketch jkSketch); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkSketch å®ä½å¯¹è±¡ |
| | | * @return List<JkSketch> |
| | | */ |
| | | List<JkSketch> findList(JkSketch jkSketch); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkSketch> |
| | | */ |
| | | PageData<JkSketch> findPage(PageWrap<JkSketch> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkSketch å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkSketch jkSketch); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.JkVersion; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface JkVersionService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param jkVersion å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(JkVersion jkVersion); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param jkVersion å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(JkVersion jkVersion); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param jkVersion å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(JkVersion jkVersion); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param jkVersions å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<JkVersion> jkVersions); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return JkVersion |
| | | */ |
| | | JkVersion findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param jkVersion å®ä½å¯¹è±¡ |
| | | * @return JkVersion |
| | | */ |
| | | JkVersion findOne(JkVersion jkVersion); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param jkVersion å®ä½å¯¹è±¡ |
| | | * @return List<JkVersion> |
| | | */ |
| | | List<JkVersion> findList(JkVersion jkVersion); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<JkVersion> |
| | | */ |
| | | PageData<JkVersion> findPage(PageWrap<JkVersion> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param jkVersion å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(JkVersion jkVersion); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.WarningPush; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¥è¦æ¨éè®°å½Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface WarningPushService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param warningPush å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(WarningPush warningPush); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param warningPush å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(WarningPush warningPush); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param warningPush å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(WarningPush warningPush); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param warningPushs å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<WarningPush> warningPushs); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return WarningPush |
| | | */ |
| | | WarningPush findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param warningPush å®ä½å¯¹è±¡ |
| | | * @return WarningPush |
| | | */ |
| | | WarningPush findOne(WarningPush warningPush); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param warningPush å®ä½å¯¹è±¡ |
| | | * @return List<WarningPush> |
| | | */ |
| | | List<WarningPush> findList(WarningPush warningPush); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<WarningPush> |
| | | */ |
| | | PageData<WarningPush> findPage(PageWrap<WarningPush> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param warningPush å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(WarningPush warningPush); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.WarningRuleDetail; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¥è¦è§åé
ç½®æç»è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface WarningRuleDetailService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param warningRuleDetail å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(WarningRuleDetail warningRuleDetail); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param warningRuleDetail å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(WarningRuleDetail warningRuleDetail); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param warningRuleDetail å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(WarningRuleDetail warningRuleDetail); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param warningRuleDetails å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<WarningRuleDetail> warningRuleDetails); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return WarningRuleDetail |
| | | */ |
| | | WarningRuleDetail findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param warningRuleDetail å®ä½å¯¹è±¡ |
| | | * @return WarningRuleDetail |
| | | */ |
| | | WarningRuleDetail findOne(WarningRuleDetail warningRuleDetail); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param warningRuleDetail å®ä½å¯¹è±¡ |
| | | * @return List<WarningRuleDetail> |
| | | */ |
| | | List<WarningRuleDetail> findList(WarningRuleDetail warningRuleDetail); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<WarningRuleDetail> |
| | | */ |
| | | PageData<WarningRuleDetail> findPage(PageWrap<WarningRuleDetail> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param warningRuleDetail å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(WarningRuleDetail warningRuleDetail); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.WarningRule; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¥è¦è§åé
置表Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface WarningRuleService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param warningRule å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(WarningRule warningRule); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param warningRule å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(WarningRule warningRule); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param warningRule å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(WarningRule warningRule); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param warningRules å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<WarningRule> warningRules); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return WarningRule |
| | | */ |
| | | WarningRule findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param warningRule å®ä½å¯¹è±¡ |
| | | * @return WarningRule |
| | | */ |
| | | WarningRule findOne(WarningRule warningRule); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param warningRule å®ä½å¯¹è±¡ |
| | | * @return List<WarningRule> |
| | | */ |
| | | List<WarningRule> findList(WarningRule warningRule); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<WarningRule> |
| | | */ |
| | | PageData<WarningRule> findPage(PageWrap<WarningRule> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param warningRule å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(WarningRule warningRule); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.dao.business.model.Warning; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¥è¦è®°å½ä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | public interface WarningService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param warning å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(Warning warning); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param warning å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(Warning warning); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param warning å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(Warning warning); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param warnings å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<Warning> warnings); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return Warning |
| | | */ |
| | | Warning findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param warning å®ä½å¯¹è±¡ |
| | | * @return Warning |
| | | */ |
| | | Warning findOne(Warning warning); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param warning å®ä½å¯¹è±¡ |
| | | * @return List<Warning> |
| | | */ |
| | | List<Warning> findList(Warning warning); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<Warning> |
| | | */ |
| | | PageData<Warning> findPage(PageWrap<Warning> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param warning å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(Warning warning); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkCabinetGridMapper; |
| | | import com.doumee.dao.business.model.JkCabinetGrid; |
| | | import com.doumee.service.business.JkCabinetGridService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¥åæææ ¼åºæ¬ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkCabinetGridServiceImpl implements JkCabinetGridService { |
| | | |
| | | @Autowired |
| | | private JkCabinetGridMapper jkCabinetGridMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkCabinetGrid jkCabinetGrid) { |
| | | jkCabinetGridMapper.insert(jkCabinetGrid); |
| | | return jkCabinetGrid.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkCabinetGridMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkCabinetGrid jkCabinetGrid) { |
| | | UpdateWrapper<JkCabinetGrid> deleteWrapper = new UpdateWrapper<>(jkCabinetGrid); |
| | | jkCabinetGridMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkCabinetGridMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkCabinetGrid jkCabinetGrid) { |
| | | jkCabinetGridMapper.updateById(jkCabinetGrid); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkCabinetGrid> jkCabinetGrids) { |
| | | if (CollectionUtils.isEmpty(jkCabinetGrids)) { |
| | | return; |
| | | } |
| | | for (JkCabinetGrid jkCabinetGrid: jkCabinetGrids) { |
| | | this.updateById(jkCabinetGrid); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkCabinetGrid findById(Integer id) { |
| | | return jkCabinetGridMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkCabinetGrid findOne(JkCabinetGrid jkCabinetGrid) { |
| | | QueryWrapper<JkCabinetGrid> wrapper = new QueryWrapper<>(jkCabinetGrid); |
| | | return jkCabinetGridMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkCabinetGrid> findList(JkCabinetGrid jkCabinetGrid) { |
| | | QueryWrapper<JkCabinetGrid> wrapper = new QueryWrapper<>(jkCabinetGrid); |
| | | return jkCabinetGridMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkCabinetGrid> findPage(PageWrap<JkCabinetGrid> pageWrap) { |
| | | IPage<JkCabinetGrid> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkCabinetGrid> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkCabinetGrid::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkCabinetGrid::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkCabinetGrid::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkCabinetGrid::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getCabinetId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getCabinetId, pageWrap.getModel().getCabinetId()); |
| | | } |
| | | if (pageWrap.getModel().getCode() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getCode, pageWrap.getModel().getCode()); |
| | | } |
| | | if (pageWrap.getModel().getKeyId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getKeyId, pageWrap.getModel().getKeyId()); |
| | | } |
| | | if (pageWrap.getModel().getSerialNo() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getSerialNo, pageWrap.getModel().getSerialNo()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | if (pageWrap.getModel().getWorkingStatus() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetGrid::getWorkingStatus, pageWrap.getModel().getWorkingStatus()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkCabinetGridMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkCabinetGrid jkCabinetGrid) { |
| | | QueryWrapper<JkCabinetGrid> wrapper = new QueryWrapper<>(jkCabinetGrid); |
| | | return jkCabinetGridMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkCabinetLogMapper; |
| | | import com.doumee.dao.business.model.JkCabinetLog; |
| | | import com.doumee.service.business.JkCabinetLogService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¥åæå¼å
³é¨è®°å½Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkCabinetLogServiceImpl implements JkCabinetLogService { |
| | | |
| | | @Autowired |
| | | private JkCabinetLogMapper jkCabinetLogMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkCabinetLog jkCabinetLog) { |
| | | jkCabinetLogMapper.insert(jkCabinetLog); |
| | | return jkCabinetLog.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkCabinetLogMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkCabinetLog jkCabinetLog) { |
| | | UpdateWrapper<JkCabinetLog> deleteWrapper = new UpdateWrapper<>(jkCabinetLog); |
| | | jkCabinetLogMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkCabinetLogMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkCabinetLog jkCabinetLog) { |
| | | jkCabinetLogMapper.updateById(jkCabinetLog); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkCabinetLog> jkCabinetLogs) { |
| | | if (CollectionUtils.isEmpty(jkCabinetLogs)) { |
| | | return; |
| | | } |
| | | for (JkCabinetLog jkCabinetLog: jkCabinetLogs) { |
| | | this.updateById(jkCabinetLog); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkCabinetLog findById(Integer id) { |
| | | return jkCabinetLogMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkCabinetLog findOne(JkCabinetLog jkCabinetLog) { |
| | | QueryWrapper<JkCabinetLog> wrapper = new QueryWrapper<>(jkCabinetLog); |
| | | return jkCabinetLogMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkCabinetLog> findList(JkCabinetLog jkCabinetLog) { |
| | | QueryWrapper<JkCabinetLog> wrapper = new QueryWrapper<>(jkCabinetLog); |
| | | return jkCabinetLogMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkCabinetLog> findPage(PageWrap<JkCabinetLog> pageWrap) { |
| | | IPage<JkCabinetLog> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkCabinetLog> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkCabinetLog::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkCabinetLog::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkCabinetLog::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkCabinetLog::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getCabinetId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getCabinetId, pageWrap.getModel().getCabinetId()); |
| | | } |
| | | if (pageWrap.getModel().getGridId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getGridId, pageWrap.getModel().getGridId()); |
| | | } |
| | | if (pageWrap.getModel().getAuthType() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getAuthType, pageWrap.getModel().getAuthType()); |
| | | } |
| | | if (pageWrap.getModel().getCarId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getCarId, pageWrap.getModel().getCarId()); |
| | | } |
| | | if (pageWrap.getModel().getKeyId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getKeyId, pageWrap.getModel().getKeyId()); |
| | | } |
| | | if (pageWrap.getModel().getMemberId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getMemberId, pageWrap.getModel().getMemberId()); |
| | | } |
| | | if (pageWrap.getModel().getKeyInfo() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getKeyInfo, pageWrap.getModel().getKeyInfo()); |
| | | } |
| | | if (pageWrap.getModel().getRoleType() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getRoleType, pageWrap.getModel().getRoleType()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(JkCabinetLog::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkCabinetLogMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkCabinetLog jkCabinetLog) { |
| | | QueryWrapper<JkCabinetLog> wrapper = new QueryWrapper<>(jkCabinetLog); |
| | | return jkCabinetLogMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkCabinetMapper; |
| | | import com.doumee.dao.business.model.JkCabinet; |
| | | import com.doumee.service.business.JkCabinetService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¥åæåºæ¬ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkCabinetServiceImpl implements JkCabinetService { |
| | | |
| | | @Autowired |
| | | private JkCabinetMapper jkCabinetMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkCabinet jkCabinet) { |
| | | jkCabinetMapper.insert(jkCabinet); |
| | | return jkCabinet.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkCabinetMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkCabinet jkCabinet) { |
| | | UpdateWrapper<JkCabinet> deleteWrapper = new UpdateWrapper<>(jkCabinet); |
| | | jkCabinetMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkCabinetMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkCabinet jkCabinet) { |
| | | jkCabinetMapper.updateById(jkCabinet); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkCabinet> jkCabinets) { |
| | | if (CollectionUtils.isEmpty(jkCabinets)) { |
| | | return; |
| | | } |
| | | for (JkCabinet jkCabinet: jkCabinets) { |
| | | this.updateById(jkCabinet); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkCabinet findById(Integer id) { |
| | | return jkCabinetMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkCabinet findOne(JkCabinet jkCabinet) { |
| | | QueryWrapper<JkCabinet> wrapper = new QueryWrapper<>(jkCabinet); |
| | | return jkCabinetMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkCabinet> findList(JkCabinet jkCabinet) { |
| | | QueryWrapper<JkCabinet> wrapper = new QueryWrapper<>(jkCabinet); |
| | | return jkCabinetMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkCabinet> findPage(PageWrap<JkCabinet> pageWrap) { |
| | | IPage<JkCabinet> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkCabinet> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkCabinet::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkCabinet::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkCabinet::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkCabinet::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getCode() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getCode, pageWrap.getModel().getCode()); |
| | | } |
| | | if (pageWrap.getModel().getName() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getName, pageWrap.getModel().getName()); |
| | | } |
| | | if (pageWrap.getModel().getDevId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getDevId, pageWrap.getModel().getDevId()); |
| | | } |
| | | if (pageWrap.getModel().getSerialNo() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getSerialNo, pageWrap.getModel().getSerialNo()); |
| | | } |
| | | if (pageWrap.getModel().getLinkAddr() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getLinkAddr, pageWrap.getModel().getLinkAddr()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | if (pageWrap.getModel().getPort() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getPort, pageWrap.getModel().getPort()); |
| | | } |
| | | if (pageWrap.getModel().getManagerId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getManagerId, pageWrap.getModel().getManagerId()); |
| | | } |
| | | if (pageWrap.getModel().getUseTime() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getUseTime, pageWrap.getModel().getUseTime()); |
| | | } |
| | | if (pageWrap.getModel().getDoubleAuth() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getDoubleAuth, pageWrap.getModel().getDoubleAuth()); |
| | | } |
| | | if (pageWrap.getModel().getAuthMemberId() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getAuthMemberId, pageWrap.getModel().getAuthMemberId()); |
| | | } |
| | | if (pageWrap.getModel().getRowNum() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getRowNum, pageWrap.getModel().getRowNum()); |
| | | } |
| | | if (pageWrap.getModel().getColumnNum() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getColumnNum, pageWrap.getModel().getColumnNum()); |
| | | } |
| | | if (pageWrap.getModel().getHaertTime() != null) { |
| | | queryWrapper.lambda().ge(JkCabinet::getHaertTime, Utils.Date.getStart(pageWrap.getModel().getHaertTime())); |
| | | queryWrapper.lambda().le(JkCabinet::getHaertTime, Utils.Date.getEnd(pageWrap.getModel().getHaertTime())); |
| | | } |
| | | if (pageWrap.getModel().getLacation() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getLacation, pageWrap.getModel().getLacation()); |
| | | } |
| | | if (pageWrap.getModel().getLongitude() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getLongitude, pageWrap.getModel().getLongitude()); |
| | | } |
| | | if (pageWrap.getModel().getLatitude() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getLatitude, pageWrap.getModel().getLatitude()); |
| | | } |
| | | if (pageWrap.getModel().getNoType() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getNoType, pageWrap.getModel().getNoType()); |
| | | } |
| | | if (pageWrap.getModel().getNoPrefix() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getNoPrefix, pageWrap.getModel().getNoPrefix()); |
| | | } |
| | | if (pageWrap.getModel().getNoLength() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getNoLength, pageWrap.getModel().getNoLength()); |
| | | } |
| | | if (pageWrap.getModel().getNoIndex() != null) { |
| | | queryWrapper.lambda().eq(JkCabinet::getNoIndex, pageWrap.getModel().getNoIndex()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkCabinetMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkCabinet jkCabinet) { |
| | | QueryWrapper<JkCabinet> wrapper = new QueryWrapper<>(jkCabinet); |
| | | return jkCabinetMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkCustomerMapper; |
| | | import com.doumee.dao.business.model.JkCustomer; |
| | | import com.doumee.service.business.JkCustomerService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-客æ·ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkCustomerServiceImpl implements JkCustomerService { |
| | | |
| | | @Autowired |
| | | private JkCustomerMapper jkCustomerMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkCustomer jkCustomer) { |
| | | jkCustomerMapper.insert(jkCustomer); |
| | | return jkCustomer.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkCustomerMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkCustomer jkCustomer) { |
| | | UpdateWrapper<JkCustomer> deleteWrapper = new UpdateWrapper<>(jkCustomer); |
| | | jkCustomerMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkCustomerMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkCustomer jkCustomer) { |
| | | jkCustomerMapper.updateById(jkCustomer); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkCustomer> jkCustomers) { |
| | | if (CollectionUtils.isEmpty(jkCustomers)) { |
| | | return; |
| | | } |
| | | for (JkCustomer jkCustomer: jkCustomers) { |
| | | this.updateById(jkCustomer); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkCustomer findById(Integer id) { |
| | | return jkCustomerMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkCustomer findOne(JkCustomer jkCustomer) { |
| | | QueryWrapper<JkCustomer> wrapper = new QueryWrapper<>(jkCustomer); |
| | | return jkCustomerMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkCustomer> findList(JkCustomer jkCustomer) { |
| | | QueryWrapper<JkCustomer> wrapper = new QueryWrapper<>(jkCustomer); |
| | | return jkCustomerMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkCustomer> findPage(PageWrap<JkCustomer> pageWrap) { |
| | | IPage<JkCustomer> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkCustomer> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkCustomer::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkCustomer::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkCustomer::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkCustomer::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getName() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getName, pageWrap.getModel().getName()); |
| | | } |
| | | if (pageWrap.getModel().getCode() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getCode, pageWrap.getModel().getCode()); |
| | | } |
| | | if (pageWrap.getModel().getLacation() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getLacation, pageWrap.getModel().getLacation()); |
| | | } |
| | | if (pageWrap.getModel().getLongitude() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getLongitude, pageWrap.getModel().getLongitude()); |
| | | } |
| | | if (pageWrap.getModel().getLatitude() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getLatitude, pageWrap.getModel().getLatitude()); |
| | | } |
| | | if (pageWrap.getModel().getWeeks() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getWeeks, pageWrap.getModel().getWeeks()); |
| | | } |
| | | if (pageWrap.getModel().getLineId() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getLineId, pageWrap.getModel().getLineId()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | if (pageWrap.getModel().getSortnum() != null) { |
| | | queryWrapper.lambda().eq(JkCustomer::getSortnum, pageWrap.getModel().getSortnum()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkCustomerMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkCustomer jkCustomer) { |
| | | QueryWrapper<JkCustomer> wrapper = new QueryWrapper<>(jkCustomer); |
| | | return jkCustomerMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkIccardMapper; |
| | | import com.doumee.dao.business.model.JkIccard; |
| | | import com.doumee.service.business.JkIccardService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¥åæICå¡ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkIccardServiceImpl implements JkIccardService { |
| | | |
| | | @Autowired |
| | | private JkIccardMapper jkIccardMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkIccard jkIccard) { |
| | | jkIccardMapper.insert(jkIccard); |
| | | return jkIccard.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkIccardMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkIccard jkIccard) { |
| | | UpdateWrapper<JkIccard> deleteWrapper = new UpdateWrapper<>(jkIccard); |
| | | jkIccardMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkIccardMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkIccard jkIccard) { |
| | | jkIccardMapper.updateById(jkIccard); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkIccard> jkIccards) { |
| | | if (CollectionUtils.isEmpty(jkIccards)) { |
| | | return; |
| | | } |
| | | for (JkIccard jkIccard: jkIccards) { |
| | | this.updateById(jkIccard); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkIccard findById(Integer id) { |
| | | return jkIccardMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkIccard findOne(JkIccard jkIccard) { |
| | | QueryWrapper<JkIccard> wrapper = new QueryWrapper<>(jkIccard); |
| | | return jkIccardMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkIccard> findList(JkIccard jkIccard) { |
| | | QueryWrapper<JkIccard> wrapper = new QueryWrapper<>(jkIccard); |
| | | return jkIccardMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkIccard> findPage(PageWrap<JkIccard> pageWrap) { |
| | | IPage<JkIccard> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkIccard> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkIccard::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkIccard::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkIccard::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkIccard::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkIccard::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkIccard::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkIccard::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkIccard::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkIccard::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getMemberId() != null) { |
| | | queryWrapper.lambda().eq(JkIccard::getMemberId, pageWrap.getModel().getMemberId()); |
| | | } |
| | | if (pageWrap.getModel().getCode() != null) { |
| | | queryWrapper.lambda().eq(JkIccard::getCode, pageWrap.getModel().getCode()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(JkIccard::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | if (pageWrap.getModel().getName() != null) { |
| | | queryWrapper.lambda().eq(JkIccard::getName, pageWrap.getModel().getName()); |
| | | } |
| | | if (pageWrap.getModel().getCabinetId() != null) { |
| | | queryWrapper.lambda().eq(JkIccard::getCabinetId, pageWrap.getModel().getCabinetId()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkIccardMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkIccard jkIccard) { |
| | | QueryWrapper<JkIccard> wrapper = new QueryWrapper<>(jkIccard); |
| | | return jkIccardMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkKeysMapper; |
| | | import com.doumee.dao.business.model.JkKeys; |
| | | import com.doumee.service.business.JkKeysService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * é¥ååºæ¬ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkKeysServiceImpl implements JkKeysService { |
| | | |
| | | @Autowired |
| | | private JkKeysMapper jkKeysMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkKeys jkKeys) { |
| | | jkKeysMapper.insert(jkKeys); |
| | | return jkKeys.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkKeysMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkKeys jkKeys) { |
| | | UpdateWrapper<JkKeys> deleteWrapper = new UpdateWrapper<>(jkKeys); |
| | | jkKeysMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkKeysMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkKeys jkKeys) { |
| | | jkKeysMapper.updateById(jkKeys); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkKeys> jkKeyss) { |
| | | if (CollectionUtils.isEmpty(jkKeyss)) { |
| | | return; |
| | | } |
| | | for (JkKeys jkKeys: jkKeyss) { |
| | | this.updateById(jkKeys); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkKeys findById(Integer id) { |
| | | return jkKeysMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkKeys findOne(JkKeys jkKeys) { |
| | | QueryWrapper<JkKeys> wrapper = new QueryWrapper<>(jkKeys); |
| | | return jkKeysMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkKeys> findList(JkKeys jkKeys) { |
| | | QueryWrapper<JkKeys> wrapper = new QueryWrapper<>(jkKeys); |
| | | return jkKeysMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkKeys> findPage(PageWrap<JkKeys> pageWrap) { |
| | | IPage<JkKeys> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkKeys> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkKeys::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkKeys::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkKeys::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkKeys::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getCode() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getCode, pageWrap.getModel().getCode()); |
| | | } |
| | | if (pageWrap.getModel().getCarCode() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getCarCode, pageWrap.getModel().getCarCode()); |
| | | } |
| | | if (pageWrap.getModel().getCarId() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getCarId, pageWrap.getModel().getCarId()); |
| | | } |
| | | if (pageWrap.getModel().getRfidLable() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getRfidLable, pageWrap.getModel().getRfidLable()); |
| | | } |
| | | if (pageWrap.getModel().getRoleType() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getRoleType, pageWrap.getModel().getRoleType()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(JkKeys::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkKeysMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkKeys jkKeys) { |
| | | QueryWrapper<JkKeys> wrapper = new QueryWrapper<>(jkKeys); |
| | | return jkKeysMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkLineMapper; |
| | | import com.doumee.dao.business.model.JkLine; |
| | | import com.doumee.service.business.JkLineService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-线路信æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkLineServiceImpl implements JkLineService { |
| | | |
| | | @Autowired |
| | | private JkLineMapper jkLineMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkLine jkLine) { |
| | | jkLineMapper.insert(jkLine); |
| | | return jkLine.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkLineMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkLine jkLine) { |
| | | UpdateWrapper<JkLine> deleteWrapper = new UpdateWrapper<>(jkLine); |
| | | jkLineMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkLineMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkLine jkLine) { |
| | | jkLineMapper.updateById(jkLine); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkLine> jkLines) { |
| | | if (CollectionUtils.isEmpty(jkLines)) { |
| | | return; |
| | | } |
| | | for (JkLine jkLine: jkLines) { |
| | | this.updateById(jkLine); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkLine findById(Integer id) { |
| | | return jkLineMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkLine findOne(JkLine jkLine) { |
| | | QueryWrapper<JkLine> wrapper = new QueryWrapper<>(jkLine); |
| | | return jkLineMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkLine> findList(JkLine jkLine) { |
| | | QueryWrapper<JkLine> wrapper = new QueryWrapper<>(jkLine); |
| | | return jkLineMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkLine> findPage(PageWrap<JkLine> pageWrap) { |
| | | IPage<JkLine> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkLine> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkLine::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkLine::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkLine::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkLine::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getName() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getName, pageWrap.getModel().getName()); |
| | | } |
| | | if (pageWrap.getModel().getCategoryId() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getCategoryId, pageWrap.getModel().getCategoryId()); |
| | | } |
| | | if (pageWrap.getModel().getCarId() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getCarId, pageWrap.getModel().getCarId()); |
| | | } |
| | | if (pageWrap.getModel().getMaxCustomer() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getMaxCustomer, pageWrap.getModel().getMaxCustomer()); |
| | | } |
| | | if (pageWrap.getModel().getMaxOrder() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getMaxOrder, pageWrap.getModel().getMaxOrder()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | if (pageWrap.getModel().getSortnum() != null) { |
| | | queryWrapper.lambda().eq(JkLine::getSortnum, pageWrap.getModel().getSortnum()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkLineMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkLine jkLine) { |
| | | QueryWrapper<JkLine> wrapper = new QueryWrapper<>(jkLine); |
| | | return jkLineMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkOrdersMapper; |
| | | import com.doumee.dao.business.model.JkOrders; |
| | | import com.doumee.service.business.JkOrdersService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-éå®è®¢åä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkOrdersServiceImpl implements JkOrdersService { |
| | | |
| | | @Autowired |
| | | private JkOrdersMapper jkOrdersMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkOrders jkOrders) { |
| | | jkOrdersMapper.insert(jkOrders); |
| | | return jkOrders.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkOrdersMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkOrders jkOrders) { |
| | | UpdateWrapper<JkOrders> deleteWrapper = new UpdateWrapper<>(jkOrders); |
| | | jkOrdersMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkOrdersMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkOrders jkOrders) { |
| | | jkOrdersMapper.updateById(jkOrders); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkOrders> jkOrderss) { |
| | | if (CollectionUtils.isEmpty(jkOrderss)) { |
| | | return; |
| | | } |
| | | for (JkOrders jkOrders: jkOrderss) { |
| | | this.updateById(jkOrders); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkOrders findById(Integer id) { |
| | | return jkOrdersMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkOrders findOne(JkOrders jkOrders) { |
| | | QueryWrapper<JkOrders> wrapper = new QueryWrapper<>(jkOrders); |
| | | return jkOrdersMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkOrders> findList(JkOrders jkOrders) { |
| | | QueryWrapper<JkOrders> wrapper = new QueryWrapper<>(jkOrders); |
| | | return jkOrdersMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkOrders> findPage(PageWrap<JkOrders> pageWrap) { |
| | | IPage<JkOrders> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkOrders> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkOrders::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkOrders::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkOrders::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkOrders::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getName() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getName, pageWrap.getModel().getName()); |
| | | } |
| | | if (pageWrap.getModel().getNum() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getNum, pageWrap.getModel().getNum()); |
| | | } |
| | | if (pageWrap.getModel().getLineId() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getLineId, pageWrap.getModel().getLineId()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | if (pageWrap.getModel().getSortnum() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getSortnum, pageWrap.getModel().getSortnum()); |
| | | } |
| | | if (pageWrap.getModel().getDateInfo() != null) { |
| | | queryWrapper.lambda().ge(JkOrders::getDateInfo, Utils.Date.getStart(pageWrap.getModel().getDateInfo())); |
| | | queryWrapper.lambda().le(JkOrders::getDateInfo, Utils.Date.getEnd(pageWrap.getModel().getDateInfo())); |
| | | } |
| | | if (pageWrap.getModel().getDistances() != null) { |
| | | queryWrapper.lambda().eq(JkOrders::getDistances, pageWrap.getModel().getDistances()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkOrdersMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkOrders jkOrders) { |
| | | QueryWrapper<JkOrders> wrapper = new QueryWrapper<>(jkOrders); |
| | | return jkOrdersMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkSketchCustomerMapper; |
| | | import com.doumee.dao.business.model.JkSketchCustomer; |
| | | import com.doumee.service.business.JkSketchCustomerService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-线路ä¼å线路客æ·è®°å½ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkSketchCustomerServiceImpl implements JkSketchCustomerService { |
| | | |
| | | @Autowired |
| | | private JkSketchCustomerMapper jkSketchCustomerMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkSketchCustomer jkSketchCustomer) { |
| | | jkSketchCustomerMapper.insert(jkSketchCustomer); |
| | | return jkSketchCustomer.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkSketchCustomerMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkSketchCustomer jkSketchCustomer) { |
| | | UpdateWrapper<JkSketchCustomer> deleteWrapper = new UpdateWrapper<>(jkSketchCustomer); |
| | | jkSketchCustomerMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkSketchCustomerMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkSketchCustomer jkSketchCustomer) { |
| | | jkSketchCustomerMapper.updateById(jkSketchCustomer); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkSketchCustomer> jkSketchCustomers) { |
| | | if (CollectionUtils.isEmpty(jkSketchCustomers)) { |
| | | return; |
| | | } |
| | | for (JkSketchCustomer jkSketchCustomer: jkSketchCustomers) { |
| | | this.updateById(jkSketchCustomer); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkSketchCustomer findById(Integer id) { |
| | | return jkSketchCustomerMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkSketchCustomer findOne(JkSketchCustomer jkSketchCustomer) { |
| | | QueryWrapper<JkSketchCustomer> wrapper = new QueryWrapper<>(jkSketchCustomer); |
| | | return jkSketchCustomerMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkSketchCustomer> findList(JkSketchCustomer jkSketchCustomer) { |
| | | QueryWrapper<JkSketchCustomer> wrapper = new QueryWrapper<>(jkSketchCustomer); |
| | | return jkSketchCustomerMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkSketchCustomer> findPage(PageWrap<JkSketchCustomer> pageWrap) { |
| | | IPage<JkSketchCustomer> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkSketchCustomer> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkSketchCustomer::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkSketchCustomer::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkSketchCustomer::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkSketchCustomer::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkSketchCustomer::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkSketchCustomer::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkSketchCustomer::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkSketchCustomer::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkSketchCustomer::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getSketchLineId() != null) { |
| | | queryWrapper.lambda().eq(JkSketchCustomer::getSketchLineId, pageWrap.getModel().getSketchLineId()); |
| | | } |
| | | if (pageWrap.getModel().getSketchId() != null) { |
| | | queryWrapper.lambda().eq(JkSketchCustomer::getSketchId, pageWrap.getModel().getSketchId()); |
| | | } |
| | | if (pageWrap.getModel().getTotalNum() != null) { |
| | | queryWrapper.lambda().eq(JkSketchCustomer::getTotalNum, pageWrap.getModel().getTotalNum()); |
| | | } |
| | | if (pageWrap.getModel().getOrderNum() != null) { |
| | | queryWrapper.lambda().eq(JkSketchCustomer::getOrderNum, pageWrap.getModel().getOrderNum()); |
| | | } |
| | | if (pageWrap.getModel().getSortnum() != null) { |
| | | queryWrapper.lambda().eq(JkSketchCustomer::getSortnum, pageWrap.getModel().getSortnum()); |
| | | } |
| | | if (pageWrap.getModel().getDateInfo() != null) { |
| | | queryWrapper.lambda().ge(JkSketchCustomer::getDateInfo, Utils.Date.getStart(pageWrap.getModel().getDateInfo())); |
| | | queryWrapper.lambda().le(JkSketchCustomer::getDateInfo, Utils.Date.getEnd(pageWrap.getModel().getDateInfo())); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkSketchCustomerMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkSketchCustomer jkSketchCustomer) { |
| | | QueryWrapper<JkSketchCustomer> wrapper = new QueryWrapper<>(jkSketchCustomer); |
| | | return jkSketchCustomerMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkSketchLineMapper; |
| | | import com.doumee.dao.business.model.JkSketchLine; |
| | | import com.doumee.service.business.JkSketchLineService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-线路ä¼å线路记å½ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkSketchLineServiceImpl implements JkSketchLineService { |
| | | |
| | | @Autowired |
| | | private JkSketchLineMapper jkSketchLineMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkSketchLine jkSketchLine) { |
| | | jkSketchLineMapper.insert(jkSketchLine); |
| | | return jkSketchLine.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkSketchLineMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkSketchLine jkSketchLine) { |
| | | UpdateWrapper<JkSketchLine> deleteWrapper = new UpdateWrapper<>(jkSketchLine); |
| | | jkSketchLineMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkSketchLineMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkSketchLine jkSketchLine) { |
| | | jkSketchLineMapper.updateById(jkSketchLine); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkSketchLine> jkSketchLines) { |
| | | if (CollectionUtils.isEmpty(jkSketchLines)) { |
| | | return; |
| | | } |
| | | for (JkSketchLine jkSketchLine: jkSketchLines) { |
| | | this.updateById(jkSketchLine); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkSketchLine findById(Integer id) { |
| | | return jkSketchLineMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkSketchLine findOne(JkSketchLine jkSketchLine) { |
| | | QueryWrapper<JkSketchLine> wrapper = new QueryWrapper<>(jkSketchLine); |
| | | return jkSketchLineMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkSketchLine> findList(JkSketchLine jkSketchLine) { |
| | | QueryWrapper<JkSketchLine> wrapper = new QueryWrapper<>(jkSketchLine); |
| | | return jkSketchLineMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkSketchLine> findPage(PageWrap<JkSketchLine> pageWrap) { |
| | | IPage<JkSketchLine> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkSketchLine> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkSketchLine::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkSketchLine::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkSketchLine::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkSketchLine::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkSketchLine::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkSketchLine::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkSketchLine::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkSketchLine::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkSketchLine::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getLineId() != null) { |
| | | queryWrapper.lambda().eq(JkSketchLine::getLineId, pageWrap.getModel().getLineId()); |
| | | } |
| | | if (pageWrap.getModel().getSketchId() != null) { |
| | | queryWrapper.lambda().eq(JkSketchLine::getSketchId, pageWrap.getModel().getSketchId()); |
| | | } |
| | | if (pageWrap.getModel().getTotalNum() != null) { |
| | | queryWrapper.lambda().eq(JkSketchLine::getTotalNum, pageWrap.getModel().getTotalNum()); |
| | | } |
| | | if (pageWrap.getModel().getOrderNum() != null) { |
| | | queryWrapper.lambda().eq(JkSketchLine::getOrderNum, pageWrap.getModel().getOrderNum()); |
| | | } |
| | | if (pageWrap.getModel().getSortnum() != null) { |
| | | queryWrapper.lambda().eq(JkSketchLine::getSortnum, pageWrap.getModel().getSortnum()); |
| | | } |
| | | if (pageWrap.getModel().getDateInfo() != null) { |
| | | queryWrapper.lambda().ge(JkSketchLine::getDateInfo, Utils.Date.getStart(pageWrap.getModel().getDateInfo())); |
| | | queryWrapper.lambda().le(JkSketchLine::getDateInfo, Utils.Date.getEnd(pageWrap.getModel().getDateInfo())); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkSketchLineMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkSketchLine jkSketchLine) { |
| | | QueryWrapper<JkSketchLine> wrapper = new QueryWrapper<>(jkSketchLine); |
| | | return jkSketchLineMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkSketchMapper; |
| | | import com.doumee.dao.business.model.JkSketch; |
| | | import com.doumee.service.business.JkSketchService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-线路ä¼åè®°å½ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkSketchServiceImpl implements JkSketchService { |
| | | |
| | | @Autowired |
| | | private JkSketchMapper jkSketchMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkSketch jkSketch) { |
| | | jkSketchMapper.insert(jkSketch); |
| | | return jkSketch.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkSketchMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkSketch jkSketch) { |
| | | UpdateWrapper<JkSketch> deleteWrapper = new UpdateWrapper<>(jkSketch); |
| | | jkSketchMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkSketchMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkSketch jkSketch) { |
| | | jkSketchMapper.updateById(jkSketch); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkSketch> jkSketchs) { |
| | | if (CollectionUtils.isEmpty(jkSketchs)) { |
| | | return; |
| | | } |
| | | for (JkSketch jkSketch: jkSketchs) { |
| | | this.updateById(jkSketch); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkSketch findById(Integer id) { |
| | | return jkSketchMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkSketch findOne(JkSketch jkSketch) { |
| | | QueryWrapper<JkSketch> wrapper = new QueryWrapper<>(jkSketch); |
| | | return jkSketchMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkSketch> findList(JkSketch jkSketch) { |
| | | QueryWrapper<JkSketch> wrapper = new QueryWrapper<>(jkSketch); |
| | | return jkSketchMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkSketch> findPage(PageWrap<JkSketch> pageWrap) { |
| | | IPage<JkSketch> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkSketch> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkSketch::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkSketch::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkSketch::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkSketch::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getCategoryId() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getCategoryId, pageWrap.getModel().getCategoryId()); |
| | | } |
| | | if (pageWrap.getModel().getTotalNum() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getTotalNum, pageWrap.getModel().getTotalNum()); |
| | | } |
| | | if (pageWrap.getModel().getOrderNum() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getOrderNum, pageWrap.getModel().getOrderNum()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | if (pageWrap.getModel().getSortnum() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getSortnum, pageWrap.getModel().getSortnum()); |
| | | } |
| | | if (pageWrap.getModel().getDateInfo() != null) { |
| | | queryWrapper.lambda().ge(JkSketch::getDateInfo, Utils.Date.getStart(pageWrap.getModel().getDateInfo())); |
| | | queryWrapper.lambda().le(JkSketch::getDateInfo, Utils.Date.getEnd(pageWrap.getModel().getDateInfo())); |
| | | } |
| | | if (pageWrap.getModel().getJobId() != null) { |
| | | queryWrapper.lambda().eq(JkSketch::getJobId, pageWrap.getModel().getJobId()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkSketchMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkSketch jkSketch) { |
| | | QueryWrapper<JkSketch> wrapper = new QueryWrapper<>(jkSketch); |
| | | return jkSketchMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.JkVersionMapper; |
| | | import com.doumee.dao.business.model.JkVersion; |
| | | import com.doumee.service.business.JkVersionService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 交æ§-é¥åæç»ç«¯çæ¬ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class JkVersionServiceImpl implements JkVersionService { |
| | | |
| | | @Autowired |
| | | private JkVersionMapper jkVersionMapper; |
| | | |
| | | @Override |
| | | public Integer create(JkVersion jkVersion) { |
| | | jkVersionMapper.insert(jkVersion); |
| | | return jkVersion.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | jkVersionMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(JkVersion jkVersion) { |
| | | UpdateWrapper<JkVersion> deleteWrapper = new UpdateWrapper<>(jkVersion); |
| | | jkVersionMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | jkVersionMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(JkVersion jkVersion) { |
| | | jkVersionMapper.updateById(jkVersion); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<JkVersion> jkVersions) { |
| | | if (CollectionUtils.isEmpty(jkVersions)) { |
| | | return; |
| | | } |
| | | for (JkVersion jkVersion: jkVersions) { |
| | | this.updateById(jkVersion); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public JkVersion findById(Integer id) { |
| | | return jkVersionMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public JkVersion findOne(JkVersion jkVersion) { |
| | | QueryWrapper<JkVersion> wrapper = new QueryWrapper<>(jkVersion); |
| | | return jkVersionMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<JkVersion> findList(JkVersion jkVersion) { |
| | | QueryWrapper<JkVersion> wrapper = new QueryWrapper<>(jkVersion); |
| | | return jkVersionMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<JkVersion> findPage(PageWrap<JkVersion> pageWrap) { |
| | | IPage<JkVersion> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<JkVersion> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(JkVersion::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(JkVersion::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(JkVersion::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(JkVersion::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getVersionInfo() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getVersionInfo, pageWrap.getModel().getVersionInfo()); |
| | | } |
| | | if (pageWrap.getModel().getFileUrl() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getFileUrl, pageWrap.getModel().getFileUrl()); |
| | | } |
| | | if (pageWrap.getModel().getName() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getName, pageWrap.getModel().getName()); |
| | | } |
| | | if (pageWrap.getModel().getContent() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getContent, pageWrap.getModel().getContent()); |
| | | } |
| | | if (pageWrap.getModel().getSortnum() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getSortnum, pageWrap.getModel().getSortnum()); |
| | | } |
| | | if (pageWrap.getModel().getTitle() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getTitle, pageWrap.getModel().getTitle()); |
| | | } |
| | | if (pageWrap.getModel().getIsForce() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getIsForce, pageWrap.getModel().getIsForce()); |
| | | } |
| | | if (pageWrap.getModel().getType() != null) { |
| | | queryWrapper.lambda().eq(JkVersion::getType, pageWrap.getModel().getType()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(jkVersionMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(JkVersion jkVersion) { |
| | | QueryWrapper<JkVersion> wrapper = new QueryWrapper<>(jkVersion); |
| | | return jkVersionMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.WarningPushMapper; |
| | | import com.doumee.dao.business.model.WarningPush; |
| | | import com.doumee.service.business.WarningPushService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¥è¦æ¨éè®°å½Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class WarningPushServiceImpl implements WarningPushService { |
| | | |
| | | @Autowired |
| | | private WarningPushMapper warningPushMapper; |
| | | |
| | | @Override |
| | | public Integer create(WarningPush warningPush) { |
| | | warningPushMapper.insert(warningPush); |
| | | return warningPush.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | warningPushMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(WarningPush warningPush) { |
| | | UpdateWrapper<WarningPush> deleteWrapper = new UpdateWrapper<>(warningPush); |
| | | warningPushMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | warningPushMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(WarningPush warningPush) { |
| | | warningPushMapper.updateById(warningPush); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<WarningPush> warningPushs) { |
| | | if (CollectionUtils.isEmpty(warningPushs)) { |
| | | return; |
| | | } |
| | | for (WarningPush warningPush: warningPushs) { |
| | | this.updateById(warningPush); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public WarningPush findById(Integer id) { |
| | | return warningPushMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public WarningPush findOne(WarningPush warningPush) { |
| | | QueryWrapper<WarningPush> wrapper = new QueryWrapper<>(warningPush); |
| | | return warningPushMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<WarningPush> findList(WarningPush warningPush) { |
| | | QueryWrapper<WarningPush> wrapper = new QueryWrapper<>(warningPush); |
| | | return warningPushMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<WarningPush> findPage(PageWrap<WarningPush> pageWrap) { |
| | | IPage<WarningPush> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<WarningPush> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(WarningPush::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(WarningPush::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(WarningPush::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(WarningPush::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getMemberId() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getMemberId, pageWrap.getModel().getMemberId()); |
| | | } |
| | | if (pageWrap.getModel().getWarningId() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getWarningId, pageWrap.getModel().getWarningId()); |
| | | } |
| | | if (pageWrap.getModel().getTitle() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getTitle, pageWrap.getModel().getTitle()); |
| | | } |
| | | if (pageWrap.getModel().getContent() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getContent, pageWrap.getModel().getContent()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | if (pageWrap.getModel().getPushInfo() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getPushInfo, pageWrap.getModel().getPushInfo()); |
| | | } |
| | | if (pageWrap.getModel().getEventInfo() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getEventInfo, pageWrap.getModel().getEventInfo()); |
| | | } |
| | | if (pageWrap.getModel().getPushId() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getPushId, pageWrap.getModel().getPushId()); |
| | | } |
| | | if (pageWrap.getModel().getPushDate() != null) { |
| | | queryWrapper.lambda().ge(WarningPush::getPushDate, Utils.Date.getStart(pageWrap.getModel().getPushDate())); |
| | | queryWrapper.lambda().le(WarningPush::getPushDate, Utils.Date.getEnd(pageWrap.getModel().getPushDate())); |
| | | } |
| | | if (pageWrap.getModel().getPushType() != null) { |
| | | queryWrapper.lambda().eq(WarningPush::getPushType, pageWrap.getModel().getPushType()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(warningPushMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(WarningPush warningPush) { |
| | | QueryWrapper<WarningPush> wrapper = new QueryWrapper<>(warningPush); |
| | | return warningPushMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.WarningRuleDetailMapper; |
| | | import com.doumee.dao.business.model.WarningRuleDetail; |
| | | import com.doumee.service.business.WarningRuleDetailService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¥è¦è§åé
ç½®æç»è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class WarningRuleDetailServiceImpl implements WarningRuleDetailService { |
| | | |
| | | @Autowired |
| | | private WarningRuleDetailMapper warningRuleDetailMapper; |
| | | |
| | | @Override |
| | | public Integer create(WarningRuleDetail warningRuleDetail) { |
| | | warningRuleDetailMapper.insert(warningRuleDetail); |
| | | return warningRuleDetail.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | warningRuleDetailMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(WarningRuleDetail warningRuleDetail) { |
| | | UpdateWrapper<WarningRuleDetail> deleteWrapper = new UpdateWrapper<>(warningRuleDetail); |
| | | warningRuleDetailMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | warningRuleDetailMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(WarningRuleDetail warningRuleDetail) { |
| | | warningRuleDetailMapper.updateById(warningRuleDetail); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<WarningRuleDetail> warningRuleDetails) { |
| | | if (CollectionUtils.isEmpty(warningRuleDetails)) { |
| | | return; |
| | | } |
| | | for (WarningRuleDetail warningRuleDetail: warningRuleDetails) { |
| | | this.updateById(warningRuleDetail); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public WarningRuleDetail findById(Integer id) { |
| | | return warningRuleDetailMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public WarningRuleDetail findOne(WarningRuleDetail warningRuleDetail) { |
| | | QueryWrapper<WarningRuleDetail> wrapper = new QueryWrapper<>(warningRuleDetail); |
| | | return warningRuleDetailMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<WarningRuleDetail> findList(WarningRuleDetail warningRuleDetail) { |
| | | QueryWrapper<WarningRuleDetail> wrapper = new QueryWrapper<>(warningRuleDetail); |
| | | return warningRuleDetailMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<WarningRuleDetail> findPage(PageWrap<WarningRuleDetail> pageWrap) { |
| | | IPage<WarningRuleDetail> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<WarningRuleDetail> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(WarningRuleDetail::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(WarningRuleDetail::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(WarningRuleDetail::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(WarningRuleDetail::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getRuleId() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getRuleId, pageWrap.getModel().getRuleId()); |
| | | } |
| | | if (pageWrap.getModel().getWarningId() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getWarningId, pageWrap.getModel().getWarningId()); |
| | | } |
| | | if (pageWrap.getModel().getRegionCode() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getRegionCode, pageWrap.getModel().getRegionCode()); |
| | | } |
| | | if (pageWrap.getModel().getSortnum() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getSortnum, pageWrap.getModel().getSortnum()); |
| | | } |
| | | if (pageWrap.getModel().getRegionName() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getRegionName, pageWrap.getModel().getRegionName()); |
| | | } |
| | | if (pageWrap.getModel().getRegionId() != null) { |
| | | queryWrapper.lambda().eq(WarningRuleDetail::getRegionId, pageWrap.getModel().getRegionId()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(warningRuleDetailMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(WarningRuleDetail warningRuleDetail) { |
| | | QueryWrapper<WarningRuleDetail> wrapper = new QueryWrapper<>(warningRuleDetail); |
| | | return warningRuleDetailMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.WarningRuleMapper; |
| | | import com.doumee.dao.business.model.WarningRule; |
| | | import com.doumee.service.business.WarningRuleService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¥è¦è§åé
置表Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class WarningRuleServiceImpl implements WarningRuleService { |
| | | |
| | | @Autowired |
| | | private WarningRuleMapper warningRuleMapper; |
| | | |
| | | @Override |
| | | public Integer create(WarningRule warningRule) { |
| | | warningRuleMapper.insert(warningRule); |
| | | return warningRule.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | warningRuleMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(WarningRule warningRule) { |
| | | UpdateWrapper<WarningRule> deleteWrapper = new UpdateWrapper<>(warningRule); |
| | | warningRuleMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | warningRuleMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(WarningRule warningRule) { |
| | | warningRuleMapper.updateById(warningRule); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<WarningRule> warningRules) { |
| | | if (CollectionUtils.isEmpty(warningRules)) { |
| | | return; |
| | | } |
| | | for (WarningRule warningRule: warningRules) { |
| | | this.updateById(warningRule); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public WarningRule findById(Integer id) { |
| | | return warningRuleMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public WarningRule findOne(WarningRule warningRule) { |
| | | QueryWrapper<WarningRule> wrapper = new QueryWrapper<>(warningRule); |
| | | return warningRuleMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<WarningRule> findList(WarningRule warningRule) { |
| | | QueryWrapper<WarningRule> wrapper = new QueryWrapper<>(warningRule); |
| | | return warningRuleMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<WarningRule> findPage(PageWrap<WarningRule> pageWrap) { |
| | | IPage<WarningRule> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<WarningRule> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(WarningRule::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(WarningRule::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(WarningRule::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(WarningRule::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(WarningRule::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(WarningRule::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(WarningRule::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(WarningRule::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(WarningRule::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getMemberId() != null) { |
| | | queryWrapper.lambda().eq(WarningRule::getMemberId, pageWrap.getModel().getMemberId()); |
| | | } |
| | | if (pageWrap.getModel().getIntervalSec() != null) { |
| | | queryWrapper.lambda().eq(WarningRule::getIntervalSec, pageWrap.getModel().getIntervalSec()); |
| | | } |
| | | if (pageWrap.getModel().getSortnum() != null) { |
| | | queryWrapper.lambda().eq(WarningRule::getSortnum, pageWrap.getModel().getSortnum()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(WarningRule::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | if (pageWrap.getModel().getWarningId() != null) { |
| | | queryWrapper.lambda().eq(WarningRule::getWarningId, pageWrap.getModel().getWarningId()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(warningRuleMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(WarningRule warningRule) { |
| | | QueryWrapper<WarningRule> wrapper = new QueryWrapper<>(warningRule); |
| | | return warningRuleMapper.selectCount(wrapper); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl; |
| | | |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.WarningMapper; |
| | | import com.doumee.dao.business.model.Warning; |
| | | import com.doumee.service.business.WarningService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ¥è¦è®°å½ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/09/28 09:01 |
| | | */ |
| | | @Service |
| | | public class WarningServiceImpl implements WarningService { |
| | | |
| | | @Autowired |
| | | private WarningMapper warningMapper; |
| | | |
| | | @Override |
| | | public Integer create(Warning warning) { |
| | | warningMapper.insert(warning); |
| | | return warning.getId(); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |
| | | warningMapper.deleteById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(Warning warning) { |
| | | UpdateWrapper<Warning> deleteWrapper = new UpdateWrapper<>(warning); |
| | | warningMapper.delete(deleteWrapper); |
| | | } |
| | | |
| | | @Override |
| | | public void deleteByIdInBatch(List<Integer> ids) { |
| | | if (CollectionUtils.isEmpty(ids)) { |
| | | return; |
| | | } |
| | | warningMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | @Override |
| | | public void updateById(Warning warning) { |
| | | warningMapper.updateById(warning); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByIdInBatch(List<Warning> warnings) { |
| | | if (CollectionUtils.isEmpty(warnings)) { |
| | | return; |
| | | } |
| | | for (Warning warning: warnings) { |
| | | this.updateById(warning); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public Warning findById(Integer id) { |
| | | return warningMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public Warning findOne(Warning warning) { |
| | | QueryWrapper<Warning> wrapper = new QueryWrapper<>(warning); |
| | | return warningMapper.selectOne(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public List<Warning> findList(Warning warning) { |
| | | QueryWrapper<Warning> wrapper = new QueryWrapper<>(warning); |
| | | return warningMapper.selectList(wrapper); |
| | | } |
| | | |
| | | @Override |
| | | public PageData<Warning> findPage(PageWrap<Warning> pageWrap) { |
| | | IPage<Warning> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | QueryWrapper<Warning> queryWrapper = new QueryWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.lambda().eq(Warning::getId, pageWrap.getModel().getId()); |
| | | } |
| | | if (pageWrap.getModel().getCreator() != null) { |
| | | queryWrapper.lambda().eq(Warning::getCreator, pageWrap.getModel().getCreator()); |
| | | } |
| | | if (pageWrap.getModel().getCreateDate() != null) { |
| | | queryWrapper.lambda().ge(Warning::getCreateDate, Utils.Date.getStart(pageWrap.getModel().getCreateDate())); |
| | | queryWrapper.lambda().le(Warning::getCreateDate, Utils.Date.getEnd(pageWrap.getModel().getCreateDate())); |
| | | } |
| | | if (pageWrap.getModel().getEditor() != null) { |
| | | queryWrapper.lambda().eq(Warning::getEditor, pageWrap.getModel().getEditor()); |
| | | } |
| | | if (pageWrap.getModel().getEditDate() != null) { |
| | | queryWrapper.lambda().ge(Warning::getEditDate, Utils.Date.getStart(pageWrap.getModel().getEditDate())); |
| | | queryWrapper.lambda().le(Warning::getEditDate, Utils.Date.getEnd(pageWrap.getModel().getEditDate())); |
| | | } |
| | | if (pageWrap.getModel().getIsdeleted() != null) { |
| | | queryWrapper.lambda().eq(Warning::getIsdeleted, pageWrap.getModel().getIsdeleted()); |
| | | } |
| | | if (pageWrap.getModel().getName() != null) { |
| | | queryWrapper.lambda().eq(Warning::getName, pageWrap.getModel().getName()); |
| | | } |
| | | if (pageWrap.getModel().getInfo() != null) { |
| | | queryWrapper.lambda().eq(Warning::getInfo, pageWrap.getModel().getInfo()); |
| | | } |
| | | if (pageWrap.getModel().getType() != null) { |
| | | queryWrapper.lambda().eq(Warning::getType, pageWrap.getModel().getType()); |
| | | } |
| | | if (pageWrap.getModel().getObjId() != null) { |
| | | queryWrapper.lambda().eq(Warning::getObjId, pageWrap.getModel().getObjId()); |
| | | } |
| | | if (pageWrap.getModel().getObjType() != null) { |
| | | queryWrapper.lambda().eq(Warning::getObjType, pageWrap.getModel().getObjType()); |
| | | } |
| | | if (pageWrap.getModel().getCode() != null) { |
| | | queryWrapper.lambda().eq(Warning::getCode, pageWrap.getModel().getCode()); |
| | | } |
| | | if (pageWrap.getModel().getSortnum() != null) { |
| | | queryWrapper.lambda().eq(Warning::getSortnum, pageWrap.getModel().getSortnum()); |
| | | } |
| | | if (pageWrap.getModel().getLevel() != null) { |
| | | queryWrapper.lambda().eq(Warning::getLevel, pageWrap.getModel().getLevel()); |
| | | } |
| | | if (pageWrap.getModel().getStatus() != null) { |
| | | queryWrapper.lambda().eq(Warning::getStatus, pageWrap.getModel().getStatus()); |
| | | } |
| | | if (pageWrap.getModel().getSubscribeStatus() != null) { |
| | | queryWrapper.lambda().eq(Warning::getSubscribeStatus, pageWrap.getModel().getSubscribeStatus()); |
| | | } |
| | | if (pageWrap.getModel().getSubscribeDate() != null) { |
| | | queryWrapper.lambda().ge(Warning::getSubscribeDate, Utils.Date.getStart(pageWrap.getModel().getSubscribeDate())); |
| | | queryWrapper.lambda().le(Warning::getSubscribeDate, Utils.Date.getEnd(pageWrap.getModel().getSubscribeDate())); |
| | | } |
| | | if (pageWrap.getModel().getSubscribeInfo() != null) { |
| | | queryWrapper.lambda().eq(Warning::getSubscribeInfo, pageWrap.getModel().getSubscribeInfo()); |
| | | } |
| | | if (pageWrap.getModel().getSubscribeMemberId() != null) { |
| | | queryWrapper.lambda().eq(Warning::getSubscribeMemberId, pageWrap.getModel().getSubscribeMemberId()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |
| | | } else { |
| | | queryWrapper.orderByAsc(sortData.getProperty()); |
| | | } |
| | | } |
| | | return PageData.from(warningMapper.selectPage(page, queryWrapper)); |
| | | } |
| | | |
| | | @Override |
| | | public long count(Warning warning) { |
| | | QueryWrapper<Warning> wrapper = new QueryWrapper<>(warning); |
| | | return warningMapper.selectCount(wrapper); |
| | | } |
| | | } |