bmfile优化
This commit is contained in:
parent
2e3516d110
commit
cb3e5d0116
|
|
@ -54,10 +54,4 @@ public class BmFileInfo extends BaseEntity
|
||||||
@ApiModelProperty(value = "文件类型")
|
@ApiModelProperty(value = "文件类型")
|
||||||
private Long fileType;
|
private Long fileType;
|
||||||
|
|
||||||
/** 数据字典 */
|
|
||||||
@Excel(name = "数据字典")
|
|
||||||
@ApiModelProperty(value = "数据字典")
|
|
||||||
private Long dicId;
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
//package com.bonus.material.basic.domain;
|
|
||||||
//
|
|
||||||
//import com.bonus.common.core.annotation.Excel;
|
|
||||||
//import com.bonus.common.core.web.domain.BaseEntity;
|
|
||||||
//import io.swagger.annotations.ApiModelProperty;
|
|
||||||
//import lombok.Data;
|
|
||||||
//
|
|
||||||
///**
|
|
||||||
// * @Author ma_sh
|
|
||||||
// * @create 2024/10/14 15:29
|
|
||||||
// */
|
|
||||||
//@Data
|
|
||||||
//public class BmUnitType extends BaseEntity {
|
|
||||||
//
|
|
||||||
// private Integer isAll;
|
|
||||||
//
|
|
||||||
// @ApiModelProperty(value = "主键id")
|
|
||||||
// private Long typeId;
|
|
||||||
//
|
|
||||||
// @ApiModelProperty(value = "单位类型名称")
|
|
||||||
// @Excel(name = "单位类型")
|
|
||||||
// private String typeName;
|
|
||||||
//
|
|
||||||
// @ApiModelProperty(value = "单位类型")
|
|
||||||
// private String dictType;
|
|
||||||
//
|
|
||||||
// /** 删除标志(0代表存在 2代表删除) */
|
|
||||||
// private String delFlag;
|
|
||||||
//
|
|
||||||
//}
|
|
||||||
|
|
@ -11,13 +11,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<result property="name" column="name" />
|
<result property="name" column="name" />
|
||||||
<result property="url" column="url" />
|
<result property="url" column="url" />
|
||||||
<result property="fileType" column="file_type" />
|
<result property="fileType" column="file_type" />
|
||||||
<result property="dicId" column="dic_id" />
|
|
||||||
<result property="createBy" column="create_by" />
|
<result property="createBy" column="create_by" />
|
||||||
<result property="createTime" column="create_time" />
|
<result property="createTime" column="create_time" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectBmFileInfoVo">
|
<sql id="selectBmFileInfoVo">
|
||||||
select id, task_type, task_id, model_id, name, url, file_type, dic_id, create_by, create_time from bm_file_info
|
select id, task_type, task_id, model_id, name, url, file_type, create_by, create_time from bm_file_info
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectBmFileInfoList" parameterType="com.bonus.material.basic.domain.BmFileInfo" resultMap="BmFileInfoResult">
|
<select id="selectBmFileInfoList" parameterType="com.bonus.material.basic.domain.BmFileInfo" resultMap="BmFileInfoResult">
|
||||||
|
|
@ -29,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
<if test="name != null and name != ''"> and name like concat('%', #{name}, '%')</if>
|
||||||
<if test="url != null and url != ''"> and url = #{url}</if>
|
<if test="url != null and url != ''"> and url = #{url}</if>
|
||||||
<if test="fileType != null "> and file_type = #{fileType}</if>
|
<if test="fileType != null "> and file_type = #{fileType}</if>
|
||||||
<if test="dicId != null "> and dic_id = #{dicId}</if>
|
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
@ -47,7 +46,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="name != null">name,</if>
|
<if test="name != null">name,</if>
|
||||||
<if test="url != null">url,</if>
|
<if test="url != null">url,</if>
|
||||||
<if test="fileType != null">file_type,</if>
|
<if test="fileType != null">file_type,</if>
|
||||||
<if test="dicId != null">dic_id,</if>
|
|
||||||
<if test="createBy != null">create_by,</if>
|
<if test="createBy != null">create_by,</if>
|
||||||
<if test="createTime != null">create_time,</if>
|
<if test="createTime != null">create_time,</if>
|
||||||
</trim>
|
</trim>
|
||||||
|
|
@ -58,7 +56,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="name != null">#{name},</if>
|
<if test="name != null">#{name},</if>
|
||||||
<if test="url != null">#{url},</if>
|
<if test="url != null">#{url},</if>
|
||||||
<if test="fileType != null">#{fileType},</if>
|
<if test="fileType != null">#{fileType},</if>
|
||||||
<if test="dicId != null">#{dicId},</if>
|
|
||||||
<if test="createBy != null">#{createBy},</if>
|
<if test="createBy != null">#{createBy},</if>
|
||||||
<if test="createTime != null">#{createTime},</if>
|
<if test="createTime != null">#{createTime},</if>
|
||||||
</trim>
|
</trim>
|
||||||
|
|
@ -73,7 +70,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="name != null">name = #{name},</if>
|
<if test="name != null">name = #{name},</if>
|
||||||
<if test="url != null">url = #{url},</if>
|
<if test="url != null">url = #{url},</if>
|
||||||
<if test="fileType != null">file_type = #{fileType},</if>
|
<if test="fileType != null">file_type = #{fileType},</if>
|
||||||
<if test="dicId != null">dic_id = #{dicId},</if>
|
|
||||||
<if test="createBy != null">create_by = #{createBy},</if>
|
<if test="createBy != null">create_by = #{createBy},</if>
|
||||||
<if test="createTime != null">create_time = #{createTime},</if>
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
</trim>
|
</trim>
|
||||||
|
|
@ -98,7 +94,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="taskId != null "> and task_id = #{taskId}</if>
|
<if test="taskId != null "> and task_id = #{taskId}</if>
|
||||||
<if test="modelId != null "> and model_id = #{modelId}</if>
|
<if test="modelId != null "> and model_id = #{modelId}</if>
|
||||||
<if test="fileType != null "> and file_type = #{fileType}</if>
|
<if test="fileType != null "> and file_type = #{fileType}</if>
|
||||||
<if test="dicId != null "> and dic_id = #{dicId}</if>
|
|
||||||
</where>
|
</where>
|
||||||
</delete>
|
</delete>
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
Reference in New Issue