org.springframework.dao.DataIntegrityViolationException:
### Error updating database. Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column 'platform_fee' at row 1
### The error may exist in com/etotem/cfc/mapper/TaskTemplatePackageMapper.java (best guess)
### The error may involve com.etotem.cfc.mapper.TaskTemplatePackageMapper.insert-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO task_template_packages ( creator_id, name, description, cycle_days, price, platform_fee, is_public, share_code, status, created_at, updated_at ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
### Cause: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column 'platform_fee' at row 1
; Data truncation: Out of range value for column 'platform_fee' at row 1; nested exception is com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column 'platform_fee' at row 1
at com.etotem.cfc.integration.GuideModuleIntegrationTest.testGuidePackageCreationFlow(GuideModuleIntegrationTest.java:63)
Caused by: com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Out of range value for column 'platform_fee' at row 1
at com.etotem.cfc.integration.GuideModuleIntegrationTest.testGuidePackageCreationFlow(GuideModuleIntegrationTest.java:63)
Preparing: INSERT INTO service_types ( name, icon, description, status ) VALUES ( ?, ?, ?, ? )
2026-11-04 12:47:18.774 DEBUG 16144 --- [ main] c.e.cfc.mapper.ServiceTypeMapper.insert : ==> Parameters: DAN测评(String), ?(String), DAN发展评估服务(String), ACTIVE(String)
2026-11-04 12:47:18.775 INFO 16144 --- [eduler_Worker-3] c.e.cfc.task.OrchestrationPollingJob : 编排轮询开始...
2026-11-04 12:47:18.776 DEBUG 16144 --- [eduler_Worker-3] c.e.c.m.T.selectList : ==> Preparing: SELECT id,flow_id,flow_version,family_id,family_member_id,trigger_source,status,started_at,finished_at,error_reason,created_at,updated_at FROM task_orchestration_executions WHERE (status = ?) LIMIT 20
2026-11-04 12:47:18.776 DEBUG 16144 --- [eduler_Worker-3] c.e.c.m.T.selectList : ==> Parameters: running(String)
2026-11-04 12:47:18.778 DEBUG 16144 --- [eduler_Worker-3] c.e.c.m.T.selectList : <== Total: 0
2026-11-04 12:47:18.778 INFO 16144 --- [eduler_Worker-3] c.e.cfc.task.OrchestrationPollingJob : 编排轮询结束
2026-11-04 12:47:18.804 DEBUG 16144 --- [ main] c.e.cfc.mapper.ServiceTypeMapper.insert : <== Updates: 1
2026-11-04 12:47:18.804 DEBUG 16144 --- [ main] c.e.c.m.ServiceContentMapper.insert : ==> Preparing: INSERT INTO service_contents ( type_id, title, content, duration, age_range, price, status ) VALUES ( ?, ?, ?, ?, ?, ?, ? )
2026-11-04 12:47:18.805 DEBUG 16144 --- [ main] c.e.c.m.ServiceContentMapper.insert : ==> Parameters: 386(Long), 1对1 DAN测评(String), 服务介绍
全面评估孩子发展水平
(String), 60(Integer), 3-12岁(String), 80000(Integer), ACTIVE(String)
2026-11-04 12:47:18.834 DEBUG 16144 --- [ main] c.e.c.m.ServiceContentMapper.insert : <== Updates: 1
2026-11-04 12:47:18.854 DEBUG 16144 --- [ main] c.e.c.m.T.selectList : ==> Preparing: SELECT id,creator_id,name,description,cycle_days,category,tags,price,platform_fee,is_public,share_code,cover_image,status,reviewer_id,reviewed_at,reject_reason,created_at,updated_at FROM task_template_packages WHERE (share_code = ?)
2026-11-04 12:47:18.854 DEBUG 16144 --- [ main] c.e.c.m.T.selectList : ==> Parameters: 3CC5F0B9(String)
2026-11-04 12:47:18.855 DEBUG 16144 --- [ main] c.e.c.m.T.selectList : <== Total: 0
2026-11-04 12:47:18.859 DEBUG 16144 --- [ main] c.e.c.m.T.insert : ==> Preparing: INSERT INTO task_template_packages ( creator_id, name, description, cycle_days, price, platform_fee, is_public, share_code, status, created_at, updated_at ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2026-11-04 12:47:18.859 DEBUG 16144 --- [ main] c.e.c.m.T.insert : ==> Parameters: 1(Long), 年度旗舰版(String), 全年度服务(String), 365(Integer), 198000(Integer), 19800(Integer), 0(Integer), 3CC5F0B9(String), draft(String), 2026-11-04 12:47:18.856(Timestamp), 2026-11-04 12:47:18.856(Timestamp)
]]>