bug52838文档拆分提示语切换修改
This commit is contained in:
+2
-1
@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.jero.common.aspect.annotation.Dict;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
@@ -107,4 +106,6 @@ public class SarFileSplitInfoEO implements Serializable {
|
||||
@TableField(exist = false)
|
||||
private String fileGroup;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String cut;
|
||||
}
|
||||
|
||||
+5
-1
@@ -106,7 +106,11 @@ public class SarFileSplitInfoServiceImpl extends ServiceImpl<SarFileSplitInfoMap
|
||||
default:
|
||||
}
|
||||
if(result == -1){
|
||||
throw new JeroBootException("文档格式错误,请检查文档内容!");
|
||||
if(CutEnum.CN.getValue().equals(sarFileSplitInfoEO.getCut())) {
|
||||
throw new JeroBootException("文档格式错误,请检查文档内容!");
|
||||
}else{
|
||||
throw new JeroBootException("The document format is wrong. Please check the document content!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user