BladeX-Boot版本出现mybatis-plus问题该如何解决

Blade 未结 1 75
mavshuang
mavshuang 剑侠 2025-05-14 08:54

一、该问题的重现步骤是什么?

1. BladeX-Boot版本出现mybatis-plus问题该如何解决

2. 

3.


二、你期待的结果是什么?实际看到的又是什么?


三、你正在使用的是什么产品,什么版本?在什么操作系统上?

BladeX-Boot,  

4.2.0.RELEASE

Saber3

四、请提供详细的错误堆栈信息,这很重要。

2025-05-13 01:29:46.255 [ForkJoinPool-1-worker-2] [] [o.s.beta.ems.service.impl.EmsMutualServiceImpl] 
ERROR: 批量保存RESULT_TABLE结果属性异常,EMS编号:[EMS20250513012941804],文件名:[Result Table.txt],属性:[{
    "emsNumb""EMS20250513012941804",
    "ctrNumb""RAS-25-200301",
    "tstMth""MFI",
    "tstMode""",
    "fileDirAbslRte""/beta/bladex/tmp/extract/EMS20250513012941804/RAS-25-200301 博格华纳01/MFI/TI81000-2021_S01_MODE1_L2_15-150KHz_+X_18.45",
    "fileDirNm""TI81000-2021_S01_MODE1_L2_15-150KHz_+X_18.45",
    "emsFileInfId"1921981123119669250,
    "frequency"86000,
    "genOut"0.89753105,
    "comment""null",
    "modulation""CW",
    "polarization""H",
    "height"0,
    "azimuth"0,
    "immLevelRmsH"10.351421667,
    "current"0.148633487,
    "antInFwd"0.489500461,
    "immLevel"12.939277083,
    "id"1921981136373669890,
    "createUser"1123598821738675201,
    "createDept"1123598813738675201,
    "createTime"1747070986251,
    "updateUser"1123598821738675201,
    "updateTime"1747070986251,
    "status"1,
    "isDeleted"0
}],异常信息:[
### Error updating database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: INSERT INTO biz_ems_rslt_tbl_tbl_val  ( id, ems_numb, ctr_numb,  tst_mth, tst_mode, file_dir_absl_rte, file_dir_nm, ems_file_inf_id, frequency,        gen_out, comment, modulation, polarization, height, azimuth, imm_level_rms_h, current,  ant_in_fwd, imm_level,  create_user, create_dept, create_time, update_user, update_time, status, is_deleted )  VALUES (  ?, ?, ?,  ?, ?, ?, ?, ?, ?,        ?, ?, ?, ?, ?, ?, ?, ?,  ?, ?,  ?, ?, ?, ?, ?, ?, ?  )
### The error may exist in org/springblade/beta/ems/mapper/EmsRsltTblTblValMapper.java (best guess)
### The error may involve org.springblade.beta.ems.mapper.EmsRsltTblTblValMapper.insert
### The error occurred while executing an update
### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: INSERT INTO biz_ems_rslt_tbl_tbl_val  ( id, ems_numb, ctr_numb,  tst_mth, tst_mode, file_dir_absl_rte, file_dir_nm, ems_file_inf_id, frequency,        gen_out, comment, modulation, polarization, height, azimuth, imm_level_rms_h, current,  ant_in_fwd, imm_level,  create_user, create_dept, create_time, update_user, update_time, status, is_deleted )  VALUES (  ?, ?, ?,  ?, ?, ?, ?, ?, ?,        ?, ?, ?, ?, ?, ?, ?, ?,  ?, ?,  ?, ?, ?, ?, ?, ?, ?  )]
2025-05-13 01:29:46.263 [ForkJoinPool-1-worker-2] [] [o.s.beta.ems.service.impl.EmsMutualServiceImpl] 
ERROR: 批量保存RESULT_TABLE结果属性异常,EMS编号:[EMS20250513012941804],文件名:[Result Table.txt],属性:[{
    "emsNumb""EMS20250513012941804",
    "ctrNumb""RAS-25-200301",
    "tstMth""MFI",
    "tstMode""",
    "fileDirAbslRte""/beta/bladex/tmp/extract/EMS20250513012941804/RAS-25-200301 博格华纳01/MFI/TI81000-2021_S01_MODE1_L2_15-150KHz_+X_18.45",
    "fileDirNm""TI81000-2021_S01_MODE1_L2_15-150KHz_+X_18.45",
    "emsFileInfId"1921981123119669250,
    "frequency"88000,
    "genOut"1.131503521,
    "comment""null",
    "modulation""CW",
    "polarization""H",
    "height"0,
    "azimuth"0,
    "immLevelRmsH"10.351421667,
    "current"0.148439677,
    "antInFwd"0.516595183,
    "immLevel"12.939277083,
    "id"1921981136398835713,
    "createUser"1123598821738675201,
    "createDept"1123598813738675201,
    "createTime"1747070986257,
    "updateUser"1123598821738675201,
    "updateTime"1747070986257,
    "status"1,
    "isDeleted"0
}],异常信息:[
### Error updating database.  Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: INSERT INTO biz_ems_rslt_tbl_tbl_val  ( id, ems_numb, ctr_numb,  tst_mth, tst_mode, file_dir_absl_rte, file_dir_nm, ems_file_inf_id, frequency,        gen_out, comment, modulation, polarization, height, azimuth, imm_level_rms_h, current,  ant_in_fwd, imm_level,  create_user, create_dept, create_time, update_user, update_time, status, is_deleted )  VALUES (  ?, ?, ?,  ?, ?, ?, ?, ?, ?,        ?, ?, ?, ?, ?, ?, ?, ?,  ?, ?,  ?, ?, ?, ?, ?, ?, ?  )
### The error may exist in org/springblade/beta/ems/mapper/EmsRsltTblTblValMapper.java (best guess)
### The error may involve org.springblade.beta.ems.mapper.EmsRsltTblTblValMapper.insert
### The error occurred while executing an update
### Cause: com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: Failed to process, Error SQL: INSERT INTO biz_ems_rslt_tbl_tbl_val  ( id, ems_numb, ctr_numb,  tst_mth, tst_mode, file_dir_absl_rte, file_dir_nm, ems_file_inf_id, frequency,        gen_out, comment, modulation, polarization, height, azimuth, imm_level_rms_h, current,  ant_in_fwd, imm_level,  create_user, create_dept, create_time, update_user, update_time, status, is_deleted )  VALUES (  ?, ?, ?,  ?, ?, ?, ?, ?, ?,        ?, ?, ?, ?, ?, ?, ?, ?,  ?, ?,  ?, ?, ?, ?, ?, ?, ?  )]

五、若有更多详细信息,请在下面提供。

1条回答
  • 2025-05-14 11:49

    其他模块都会报错还是就你这个会报错。如果只有这个会报错,代码是什么,提供一下。然后你再到原生的mybatis-plus的demo工程(这么做可排除bladex本身的影响)跑一下你的这个代码看看能不能新增成功。

    0 讨论(0)
代码语言
提交回复