Commit Graph
130 Commits
Author SHA1 Message Date
wuzilongandCursor ebe346110a docs(sql): note other kind on dispatch calendar_kind.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-29 16:40:40 +08:00
wuzilongandCursor bde19c0644 feat: 锁定执行中计划并按装卸明细差量归档库存,补齐派车日历数量与酸碱类型。
执行中的运输计划不再随意改单;库存流水记到装卸产品明细;手工派车日历区分酸碱并记录数量。同时收紧合同附件与子表的差量保存,并清理已废弃的 bak 备份目录。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-29 07:59:53 +08:00
wuzilong 459b820f95 chore: 保存恢复本会话改动前的工作区检查点。 2026-10-27 21:56:45 +08:00
wuzilong d104ef86d2 提交 2026-10-23 23:07:00 +08:00
wuzilong 9177e1b7f1 提交“ 2026-10-19 18:28:02 +08:00
wuzilong 5d9fb5ce19 提交“ 2026-10-19 18:27:18 +08:00
wuzilongandCursor d3590398db docs(sql): rename ETC/加油充值 menus and dict label to 油卡.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 11:41:43 +08:00
wuzilongandCursor aaaf10678e docs(sql): add miniprogram CRM contract webview menus and role bind.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 17:24:32 +08:00
wuzilongandCursor 9af0425b98 docs(sql): add miniprogram CRM quote webview menus and role bind.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 15:50:48 +08:00
wuzilongandCursor d3a7e3d3fd docs(sql): add miniprogram CRM product webview menus and role bind.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 09:40:37 +08:00
wuzilong 85559bd414 提交 2026-10-15 08:50:25 +08:00
wuzilongandCursor 5357df1cc2 feat(pl): add pl_plan.copy_seq_no for copy-to-group sequence
Persist a tenant-scoped fixed serial for driver-plan clipboard text;
include migration backfill by create_time.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 12:33:00 +08:00
wuzilong 318b934b86 提交 2026-10-06 17:55:20 +08:00
wuzilong 6abfb6e251 提交 2026-10-05 12:57:51 +08:00
zlwu c55f22a603 提交 2026-10-02 09:28:00 +08:00
zlwu 4f364bc9a0 提交 2026-09-29 07:07:51 +08:00
zlwu c9fb39395c 提交 2026-09-28 10:47:42 +08:00
zlwuandCursor c70b17f8ca feat(mini): add ETC vehicle recharge apply for drivers and escorts
Add menu SQL, workbench entry, mineVehicles API client, and list/form pages styled like fuel register.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-27 18:38:35 +08:00
zlwuandCursor 94dd52832b docs: add vehicle recharge workflow design, plan, and migration SQL
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-26 20:48:17 +08:00
zlwu b430e75a4b 提交 2026-09-26 11:59:39 +08:00
wuzilong 1ba1f38321 提交 2026-09-18 12:01:13 +08:00
wuzilongandCursor 2ce31b903f feat(db): add sys_user wx_openid columns for mini phone login.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-18 11:05:22 +08:00
wuzilong 86694f739f 提交 2026-09-17 09:10:10 +08:00
wuzilongandCursor 5220637639 docs(sql): add miniprogram menu for webview transport plan.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 16:22:12 +08:00
wuzilong 8c96de2c0c 提交 2026-09-13 13:08:52 +08:00
wuzilongandCursor 7f9be18ab6 docs(sql): add mini driver-plan menu and role bindings
Create/reuse 司机 and 押运员 roles and bind the miniprogram
司机运输计划单 menu under 运输管理.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 11:45:43 +08:00
wuzilongandCursor 0658090223 feat(pl): add personnel sys_user_id and transport escort columns
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-13 10:30:49 +08:00
wuzilongandCursor 00849bd998 docs(sql): narrow vehicle recharge menus to ETC-only labels
Rename ETC/fuel menus and soft-disable fuel dict for the ETC-only cutover.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-12 08:41:55 +08:00
wuzilongandCursor 507823dfce feat(miniprogram): add mobile bx menus and Batch1 placeholders.
Insert MINI_BX_* menus with mini:bx:* perms on test/prod, expose 9 workbench entries, and register placeholder pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 23:12:55 +08:00
wuzilongandCursor fd463c77eb feat(sql): add mini-program weighbridge menus under 移动端.
Insert MINI_DB_* menus with mini:db:* perms and grant them to 超级管理员 only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 22:42:21 +08:00
zlwu 7f05162fd1 提交 2026-09-06 20:44:56 +08:00
zlwuandCursor 45ed795501 chore(pl): add script to remount orphaned transport dibang stop links.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-05 18:43:10 +08:00
zlwuandCursor 6bf4e7b249 fix(sql): avoid UUID collision in plan-archive price role backfill
MySQL may evaluate UUID() once per INSERT...SELECT, causing duplicate
primary keys when backfilling multiple sys_role_menu rows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 16:53:06 +08:00
zlwuandCursor 7fbfcffd43 chore(sql): add pl:plan-archive:price menu and backfill roles
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-03 16:21:12 +08:00
zlwuandCursor 22b92ea056 feat(pl): add notes column on transport address library
Persist address-level precautions for later fill into plan load/delivery notes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 11:58:17 +08:00
zlwu 16986f443e 提交 2026-08-27 19:38:12 +08:00
zlwu ebf006eeff 提交 2026-08-27 19:38:01 +08:00
zlwu 4611dbc2b2 提交 2026-08-27 14:23:18 +08:00
zlwuandCursor 031f1d50f6 docs: add pl_customer_stop_pref migration for stop logistics memory
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 17:04:56 +08:00
zlwu dd1acdc787 提交 2026-08-23 18:42:27 +08:00
zlwu 9da462fcba 提交 2026-08-20 11:17:41 +08:00
zlwu 1938a9b76a 提交 2026-08-19 22:20:42 +08:00
zlwuandCursor 0b402b18ed feat(bx): add occur_date column on reimburse detail
Store optional expense occurrence date (DATE, nullable) for each
reimburse line item.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-17 15:53:53 +08:00
zlwu 34e5fcf0be 提交 2026-08-16 14:58:19 +08:00
zlwu a5210a6a9e 提交 2026-08-09 21:07:28 +08:00
zlwu 7a0f1554bd 提交 2026-08-09 15:59:22 +08:00
zlwu 683f14828f 提交 2026-08-08 20:43:48 +08:00
zlwuandCursor 1a0c58f82d feat: add sys_user_menu_favorite table for portal menu favorites
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 11:58:55 +08:00
zlwuandCursor e056dfaac1 fix: restore shanxia2.0.sql and keep name_pinyin_abbr DDL only.
The previous commit accidentally truncated the baseline SQL dump; restore full content and re-apply only the crm_product/crm_customer column additions.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:15:45 +08:00
zlwuandCursor e7b3fbb21b feat: add name_pinyin_abbr columns for CRM product and customer.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:10:53 +08:00