bobol
11 months ago
12 changed files with 899 additions and 153 deletions
@ -0,0 +1,130 @@ |
|||||
|
package com.lzbi.bi.domain; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.Date; |
||||
|
import lombok.Data; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.experimental.Accessors; |
||||
|
import com.lzbi.common.annotation.Excel; |
||||
|
import com.lzbi.module.base.BaseModuleEntity; |
||||
|
|
||||
|
/** |
||||
|
* 指标数据底稿日-新结构对象 dc_busi_target_draft_daynew |
||||
|
* |
||||
|
* @author lienbo |
||||
|
* @date 2023-12-25 |
||||
|
*/ |
||||
|
@Data |
||||
|
@Accessors(chain = true) |
||||
|
public class DcBusiTargetDraftDaynew extends BaseModuleEntity |
||||
|
{ |
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** 创建人 */ |
||||
|
private String createdBy; |
||||
|
|
||||
|
/** 创建时间 */ |
||||
|
private Date createdTime; |
||||
|
|
||||
|
/** 更新人 */ |
||||
|
private String updatedBy; |
||||
|
|
||||
|
/** 更新时间 */ |
||||
|
private Date updatedTime; |
||||
|
|
||||
|
/** 公司ID */ |
||||
|
@Excel(name = "公司ID") |
||||
|
@ApiModelProperty(name = "公司ID",notes = "companyId") |
||||
|
private Long companyId; |
||||
|
|
||||
|
/** 公司名称 */ |
||||
|
@Excel(name = "公司名称") |
||||
|
@ApiModelProperty(name = "公司名称",notes = "companyName") |
||||
|
private String companyName; |
||||
|
|
||||
|
/** 组织ID */ |
||||
|
@Excel(name = "组织ID") |
||||
|
@ApiModelProperty(name = "组织ID",notes = "organizeId") |
||||
|
private Long organizeId; |
||||
|
|
||||
|
/** 组织名称 */ |
||||
|
@Excel(name = "组织名称") |
||||
|
@ApiModelProperty(name = "组织名称",notes = "organizeName") |
||||
|
private String organizeName; |
||||
|
|
||||
|
/** 统计单元编码 */ |
||||
|
@Excel(name = "统计单元编码") |
||||
|
@ApiModelProperty(name = "统计单元编码",notes = "assetCode") |
||||
|
private String assetCode; |
||||
|
|
||||
|
/** 统计单元名称 */ |
||||
|
@Excel(name = "统计单元名称") |
||||
|
@ApiModelProperty(name = "统计单元名称",notes = "assetName") |
||||
|
private String assetName; |
||||
|
|
||||
|
/** 指标编码 */ |
||||
|
@Excel(name = "指标编码") |
||||
|
@ApiModelProperty(name = "指标编码",notes = "targetCode") |
||||
|
private String targetCode; |
||||
|
|
||||
|
/** 指标名称 */ |
||||
|
@Excel(name = "指标名称") |
||||
|
@ApiModelProperty(name = "指标名称",notes = "tagetName") |
||||
|
private String tagetName; |
||||
|
|
||||
|
/** 指标模型编码 */ |
||||
|
@Excel(name = "指标模型编码") |
||||
|
@ApiModelProperty(name = "指标模型编码",notes = "targetModelCode") |
||||
|
private String targetModelCode; |
||||
|
|
||||
|
/** 指标原值 */ |
||||
|
@Excel(name = "指标原值") |
||||
|
@ApiModelProperty(name = "指标原值",notes = "valueOriginal") |
||||
|
private BigDecimal valueOriginal; |
||||
|
|
||||
|
/** 指标结果值 */ |
||||
|
@Excel(name = "指标结果值") |
||||
|
@ApiModelProperty(name = "指标结果值",notes = "valueResult") |
||||
|
private BigDecimal valueResult; |
||||
|
|
||||
|
/** 指标计划值 */ |
||||
|
@Excel(name = "指标计划值") |
||||
|
@ApiModelProperty(name = "指标计划值",notes = "valuePlan") |
||||
|
private BigDecimal valuePlan; |
||||
|
|
||||
|
/** 年 */ |
||||
|
@Excel(name = "年") |
||||
|
@ApiModelProperty(name = "年",notes = "dateYear") |
||||
|
private String dateYear; |
||||
|
|
||||
|
/** 月 */ |
||||
|
@Excel(name = "月") |
||||
|
@ApiModelProperty(name = "月",notes = "dateMonth") |
||||
|
private String dateMonth; |
||||
|
|
||||
|
/** 日 */ |
||||
|
@Excel(name = "日") |
||||
|
@ApiModelProperty(name = "日",notes = "dateDay") |
||||
|
private String dateDay; |
||||
|
|
||||
|
/** 指标临时值 */ |
||||
|
@Excel(name = "指标临时值") |
||||
|
@ApiModelProperty(name = "指标临时值",notes = "valueTemp") |
||||
|
private BigDecimal valueTemp; |
||||
|
|
||||
|
/** 所属专业编码 */ |
||||
|
@Excel(name = "所属专业编码") |
||||
|
@ApiModelProperty(name = "所属专业编码",notes = "fieldCode") |
||||
|
private String fieldCode; |
||||
|
|
||||
|
/** 所属专业名称 */ |
||||
|
@Excel(name = "所属专业名称") |
||||
|
@ApiModelProperty(name = "所属专业名称",notes = "fieldName") |
||||
|
private String fieldName; |
||||
|
|
||||
|
/** 调整值 */ |
||||
|
@Excel(name = "调整值") |
||||
|
@ApiModelProperty(name = "调整值",notes = "valueAdjust") |
||||
|
private BigDecimal valueAdjust; |
||||
|
|
||||
|
} |
@ -0,0 +1,63 @@ |
|||||
|
package com.lzbi.bi.mapper; |
||||
|
|
||||
|
import java.util.List; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.lzbi.bi.domain.DcBusiTargetDraftDaynew; |
||||
|
|
||||
|
/** |
||||
|
* 指标数据底稿日-新结构Mapper接口 |
||||
|
* |
||||
|
* @author lienbo |
||||
|
* @date 2023-12-25 |
||||
|
*/ |
||||
|
|
||||
|
public interface DcBusiTargetDraftDaynewMapper extends BaseMapper<DcBusiTargetDraftDaynew> |
||||
|
{ |
||||
|
/** |
||||
|
* 查询指标数据底稿日-新结构 |
||||
|
* |
||||
|
* @param id 指标数据底稿日-新结构主键 |
||||
|
* @return 指标数据底稿日-新结构 |
||||
|
*/ |
||||
|
public DcBusiTargetDraftDaynew selectDcBusiTargetDraftDaynewById(String id); |
||||
|
|
||||
|
/** |
||||
|
* 查询指标数据底稿日-新结构列表 |
||||
|
* |
||||
|
* @param dcBusiTargetDraftDaynew 指标数据底稿日-新结构 |
||||
|
* @return 指标数据底稿日-新结构集合 |
||||
|
*/ |
||||
|
public List<DcBusiTargetDraftDaynew> selectDcBusiTargetDraftDaynewList(DcBusiTargetDraftDaynew dcBusiTargetDraftDaynew); |
||||
|
|
||||
|
/** |
||||
|
* 新增指标数据底稿日-新结构 |
||||
|
* |
||||
|
* @param dcBusiTargetDraftDaynew 指标数据底稿日-新结构 |
||||
|
* @return 结果 |
||||
|
*/ |
||||
|
public int insertDcBusiTargetDraftDaynew(DcBusiTargetDraftDaynew dcBusiTargetDraftDaynew); |
||||
|
|
||||
|
/** |
||||
|
* 修改指标数据底稿日-新结构 |
||||
|
* |
||||
|
* @param dcBusiTargetDraftDaynew 指标数据底稿日-新结构 |
||||
|
* @return 结果 |
||||
|
*/ |
||||
|
public int updateDcBusiTargetDraftDaynew(DcBusiTargetDraftDaynew dcBusiTargetDraftDaynew); |
||||
|
|
||||
|
/** |
||||
|
* 删除指标数据底稿日-新结构 |
||||
|
* |
||||
|
* @param id 指标数据底稿日-新结构主键 |
||||
|
* @return 结果 |
||||
|
*/ |
||||
|
public int deleteDcBusiTargetDraftDaynewById(String id); |
||||
|
|
||||
|
/** |
||||
|
* 批量删除指标数据底稿日-新结构 |
||||
|
* |
||||
|
* @param ids 需要删除的数据主键集合 |
||||
|
* @return 结果 |
||||
|
*/ |
||||
|
public int deleteDcBusiTargetDraftDaynewByIds(String[] ids); |
||||
|
} |
@ -0,0 +1,91 @@ |
|||||
|
package com.lzbi.bi.service; |
||||
|
|
||||
|
import java.util.List; |
||||
|
import com.lzbi.common.utils.DateUtils; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
import com.lzbi.bi.domain.DcBusiTargetDraftDaynew; |
||||
|
import com.lzbi.bi.mapper.DcBusiTargetDraftDaynewMapper; |
||||
|
import com.baomidou.mybatisplus.extension.service.IService; |
||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||
|
/** |
||||
|
* 指标数据底稿日-新结构Service业务层处理 |
||||
|
* |
||||
|
* @author 李恩博 |
||||
|
* @date 2023-12-25 |
||||
|
*/ |
||||
|
@Service |
||||
|
public class DcBusiTargetDraftDaynewService extends ServiceImpl<DcBusiTargetDraftDaynewMapper, DcBusiTargetDraftDaynew> implements IService<DcBusiTargetDraftDaynew> |
||||
|
{ |
||||
|
|
||||
|
/** |
||||
|
* 查询指标数据底稿日-新结构 |
||||
|
* |
||||
|
* @param id 指标数据底稿日-新结构主键 |
||||
|
* @return 指标数据底稿日-新结构 |
||||
|
*/ |
||||
|
public DcBusiTargetDraftDaynew selectDcBusiTargetDraftDaynewById(String id) |
||||
|
{ |
||||
|
return baseMapper.selectDcBusiTargetDraftDaynewById(id); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 查询指标数据底稿日-新结构列表 |
||||
|
* |
||||
|
* @param dcBusiTargetDraftDaynew 指标数据底稿日-新结构 |
||||
|
* @return 指标数据底稿日-新结构 |
||||
|
*/ |
||||
|
public List<DcBusiTargetDraftDaynew> selectDcBusiTargetDraftDaynewList(DcBusiTargetDraftDaynew dcBusiTargetDraftDaynew) |
||||
|
{ |
||||
|
return baseMapper.selectDcBusiTargetDraftDaynewList(dcBusiTargetDraftDaynew); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 新增指标数据底稿日-新结构 |
||||
|
* |
||||
|
* @param dcBusiTargetDraftDaynew 指标数据底稿日-新结构 |
||||
|
* @return 结果 |
||||
|
*/ |
||||
|
|
||||
|
public int insertDcBusiTargetDraftDaynew(DcBusiTargetDraftDaynew dcBusiTargetDraftDaynew) |
||||
|
{ |
||||
|
dcBusiTargetDraftDaynew.setCreatedTime(DateUtils.getNowDate()); |
||||
|
return baseMapper.insertDcBusiTargetDraftDaynew(dcBusiTargetDraftDaynew); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 修改指标数据底稿日-新结构 |
||||
|
* |
||||
|
* @param dcBusiTargetDraftDaynew 指标数据底稿日-新结构 |
||||
|
* @return 结果 |
||||
|
*/ |
||||
|
|
||||
|
public int updateDcBusiTargetDraftDaynew(DcBusiTargetDraftDaynew dcBusiTargetDraftDaynew) |
||||
|
{ |
||||
|
dcBusiTargetDraftDaynew.setUpdatedTime(DateUtils.getNowDate()); |
||||
|
return baseMapper.updateDcBusiTargetDraftDaynew(dcBusiTargetDraftDaynew); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 批量删除指标数据底稿日-新结构 |
||||
|
* |
||||
|
* @param ids 需要删除的指标数据底稿日-新结构主键 |
||||
|
* @return 结果 |
||||
|
*/ |
||||
|
|
||||
|
public int deleteDcBusiTargetDraftDaynewByIds(String[] ids) |
||||
|
{ |
||||
|
return baseMapper.deleteDcBusiTargetDraftDaynewByIds(ids); |
||||
|
} |
||||
|
|
||||
|
/** |
||||
|
* 删除指标数据底稿日-新结构信息 |
||||
|
* |
||||
|
* @param id 指标数据底稿日-新结构主键 |
||||
|
* @return 结果 |
||||
|
*/ |
||||
|
|
||||
|
public int deleteDcBusiTargetDraftDaynewById(String id) |
||||
|
{ |
||||
|
return baseMapper.deleteDcBusiTargetDraftDaynewById(id); |
||||
|
} |
||||
|
} |
@ -0,0 +1,178 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper |
||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.lzbi.bi.mapper.DcBusiTargetDraftDaynewMapper"> |
||||
|
|
||||
|
<resultMap type="com.lzbi.bi.domain.DcBusiTargetDraftDaynew" id="DcBusiTargetDraftDaynewResult"> |
||||
|
<result property="id" column="id" /> |
||||
|
<result property="tenantId" column="tenant_id" /> |
||||
|
<result property="revision" column="revision" /> |
||||
|
<result property="createdBy" column="created_by" /> |
||||
|
<result property="createdTime" column="created_time" /> |
||||
|
<result property="updatedBy" column="updated_by" /> |
||||
|
<result property="updatedTime" column="updated_time" /> |
||||
|
<result property="deleteBy" column="delete_by" /> |
||||
|
<result property="deleteTime" column="delete_time" /> |
||||
|
<result property="companyId" column="company_id" /> |
||||
|
<result property="companyName" column="company_name" /> |
||||
|
<result property="organizeId" column="organize_id" /> |
||||
|
<result property="organizeName" column="organize_name" /> |
||||
|
<result property="assetCode" column="asset_code" /> |
||||
|
<result property="assetName" column="asset_name" /> |
||||
|
<result property="targetCode" column="target_code" /> |
||||
|
<result property="tagetName" column="taget_name" /> |
||||
|
<result property="targetModelCode" column="target_model_code" /> |
||||
|
<result property="valueOriginal" column="value_original" /> |
||||
|
<result property="valueResult" column="value_result" /> |
||||
|
<result property="valuePlan" column="value_plan" /> |
||||
|
<result property="dateYear" column="date_year" /> |
||||
|
<result property="dateMonth" column="date_month" /> |
||||
|
<result property="dateDay" column="date_day" /> |
||||
|
<result property="valueTemp" column="value_temp" /> |
||||
|
<result property="fieldCode" column="field_code" /> |
||||
|
<result property="fieldName" column="field_name" /> |
||||
|
<result property="valueAdjust" column="value_adjust" /> |
||||
|
</resultMap> |
||||
|
|
||||
|
<sql id="selectDcBusiTargetDraftDaynewVo"> |
||||
|
select id, tenant_id, revision, created_by, created_time, updated_by, updated_time, delete_by, delete_time, company_id, company_name, organize_id, organize_name, asset_code, asset_name, target_code, taget_name, target_model_code, value_original, value_result, value_plan, date_year, date_month, date_day, value_temp, field_code, field_name, value_adjust from dc_busi_target_draft_daynew |
||||
|
</sql> |
||||
|
|
||||
|
<select id="selectDcBusiTargetDraftDaynewList" parameterType="DcBusiTargetDraftDaynew" resultMap="DcBusiTargetDraftDaynewResult"> |
||||
|
<include refid="selectDcBusiTargetDraftDaynewVo"/> |
||||
|
<where> |
||||
|
<if test="companyId != null "> and company_id = #{companyId}</if> |
||||
|
<if test="companyName != null and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if> |
||||
|
<if test="organizeId != null "> and organize_id = #{organizeId}</if> |
||||
|
<if test="organizeName != null and organizeName != ''"> and organize_name like concat('%', #{organizeName}, '%')</if> |
||||
|
<if test="assetCode != null and assetCode != ''"> and asset_code = #{assetCode}</if> |
||||
|
<if test="assetName != null and assetName != ''"> and asset_name like concat('%', #{assetName}, '%')</if> |
||||
|
<if test="targetCode != null and targetCode != ''"> and target_code = #{targetCode}</if> |
||||
|
<if test="tagetName != null and tagetName != ''"> and taget_name like concat('%', #{tagetName}, '%')</if> |
||||
|
<if test="targetModelCode != null and targetModelCode != ''"> and target_model_code = #{targetModelCode}</if> |
||||
|
<if test="valueOriginal != null "> and value_original = #{valueOriginal}</if> |
||||
|
<if test="valueResult != null "> and value_result = #{valueResult}</if> |
||||
|
<if test="valuePlan != null "> and value_plan = #{valuePlan}</if> |
||||
|
<if test="dateYear != null and dateYear != ''"> and date_year = #{dateYear}</if> |
||||
|
<if test="dateMonth != null and dateMonth != ''"> and date_month = #{dateMonth}</if> |
||||
|
<if test="dateDay != null and dateDay != ''"> and date_day = #{dateDay}</if> |
||||
|
<if test="valueTemp != null "> and value_temp = #{valueTemp}</if> |
||||
|
<if test="fieldCode != null and fieldCode != ''"> and field_code = #{fieldCode}</if> |
||||
|
<if test="fieldName != null and fieldName != ''"> and field_name like concat('%', #{fieldName}, '%')</if> |
||||
|
<if test="valueAdjust != null "> and value_adjust = #{valueAdjust}</if> |
||||
|
</where> |
||||
|
</select> |
||||
|
|
||||
|
<select id="selectDcBusiTargetDraftDaynewById" parameterType="String" resultMap="DcBusiTargetDraftDaynewResult"> |
||||
|
<include refid="selectDcBusiTargetDraftDaynewVo"/> |
||||
|
where id = #{id} |
||||
|
</select> |
||||
|
|
||||
|
<insert id="insertDcBusiTargetDraftDaynew" parameterType="DcBusiTargetDraftDaynew" useGeneratedKeys="true" keyProperty="id"> |
||||
|
insert into dc_busi_target_draft_daynew |
||||
|
<trim prefix="(" suffix=")" suffixOverrides=","> |
||||
|
<if test="tenantId != null">tenant_id,</if> |
||||
|
<if test="revision != null">revision,</if> |
||||
|
<if test="createdBy != null">created_by,</if> |
||||
|
<if test="createdTime != null">created_time,</if> |
||||
|
<if test="updatedBy != null">updated_by,</if> |
||||
|
<if test="updatedTime != null">updated_time,</if> |
||||
|
<if test="deleteBy != null">delete_by,</if> |
||||
|
<if test="deleteTime != null">delete_time,</if> |
||||
|
<if test="companyId != null">company_id,</if> |
||||
|
<if test="companyName != null">company_name,</if> |
||||
|
<if test="organizeId != null">organize_id,</if> |
||||
|
<if test="organizeName != null">organize_name,</if> |
||||
|
<if test="assetCode != null">asset_code,</if> |
||||
|
<if test="assetName != null">asset_name,</if> |
||||
|
<if test="targetCode != null">target_code,</if> |
||||
|
<if test="tagetName != null">taget_name,</if> |
||||
|
<if test="targetModelCode != null">target_model_code,</if> |
||||
|
<if test="valueOriginal != null">value_original,</if> |
||||
|
<if test="valueResult != null">value_result,</if> |
||||
|
<if test="valuePlan != null">value_plan,</if> |
||||
|
<if test="dateYear != null">date_year,</if> |
||||
|
<if test="dateMonth != null">date_month,</if> |
||||
|
<if test="dateDay != null">date_day,</if> |
||||
|
<if test="valueTemp != null">value_temp,</if> |
||||
|
<if test="fieldCode != null">field_code,</if> |
||||
|
<if test="fieldName != null">field_name,</if> |
||||
|
<if test="valueAdjust != null">value_adjust,</if> |
||||
|
</trim> |
||||
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
||||
|
<if test="tenantId != null">#{tenantId},</if> |
||||
|
<if test="revision != null">#{revision},</if> |
||||
|
<if test="createdBy != null">#{createdBy},</if> |
||||
|
<if test="createdTime != null">#{createdTime},</if> |
||||
|
<if test="updatedBy != null">#{updatedBy},</if> |
||||
|
<if test="updatedTime != null">#{updatedTime},</if> |
||||
|
<if test="deleteBy != null">#{deleteBy},</if> |
||||
|
<if test="deleteTime != null">#{deleteTime},</if> |
||||
|
<if test="companyId != null">#{companyId},</if> |
||||
|
<if test="companyName != null">#{companyName},</if> |
||||
|
<if test="organizeId != null">#{organizeId},</if> |
||||
|
<if test="organizeName != null">#{organizeName},</if> |
||||
|
<if test="assetCode != null">#{assetCode},</if> |
||||
|
<if test="assetName != null">#{assetName},</if> |
||||
|
<if test="targetCode != null">#{targetCode},</if> |
||||
|
<if test="tagetName != null">#{tagetName},</if> |
||||
|
<if test="targetModelCode != null">#{targetModelCode},</if> |
||||
|
<if test="valueOriginal != null">#{valueOriginal},</if> |
||||
|
<if test="valueResult != null">#{valueResult},</if> |
||||
|
<if test="valuePlan != null">#{valuePlan},</if> |
||||
|
<if test="dateYear != null">#{dateYear},</if> |
||||
|
<if test="dateMonth != null">#{dateMonth},</if> |
||||
|
<if test="dateDay != null">#{dateDay},</if> |
||||
|
<if test="valueTemp != null">#{valueTemp},</if> |
||||
|
<if test="fieldCode != null">#{fieldCode},</if> |
||||
|
<if test="fieldName != null">#{fieldName},</if> |
||||
|
<if test="valueAdjust != null">#{valueAdjust},</if> |
||||
|
</trim> |
||||
|
</insert> |
||||
|
|
||||
|
<update id="updateDcBusiTargetDraftDaynew" parameterType="DcBusiTargetDraftDaynew"> |
||||
|
update dc_busi_target_draft_daynew |
||||
|
<trim prefix="SET" suffixOverrides=","> |
||||
|
<if test="tenantId != null">tenant_id = #{tenantId},</if> |
||||
|
<if test="revision != null">revision = #{revision},</if> |
||||
|
<if test="createdBy != null">created_by = #{createdBy},</if> |
||||
|
<if test="createdTime != null">created_time = #{createdTime},</if> |
||||
|
<if test="updatedBy != null">updated_by = #{updatedBy},</if> |
||||
|
<if test="updatedTime != null">updated_time = #{updatedTime},</if> |
||||
|
<if test="deleteBy != null">delete_by = #{deleteBy},</if> |
||||
|
<if test="deleteTime != null">delete_time = #{deleteTime},</if> |
||||
|
<if test="companyId != null">company_id = #{companyId},</if> |
||||
|
<if test="companyName != null">company_name = #{companyName},</if> |
||||
|
<if test="organizeId != null">organize_id = #{organizeId},</if> |
||||
|
<if test="organizeName != null">organize_name = #{organizeName},</if> |
||||
|
<if test="assetCode != null">asset_code = #{assetCode},</if> |
||||
|
<if test="assetName != null">asset_name = #{assetName},</if> |
||||
|
<if test="targetCode != null">target_code = #{targetCode},</if> |
||||
|
<if test="tagetName != null">taget_name = #{tagetName},</if> |
||||
|
<if test="targetModelCode != null">target_model_code = #{targetModelCode},</if> |
||||
|
<if test="valueOriginal != null">value_original = #{valueOriginal},</if> |
||||
|
<if test="valueResult != null">value_result = #{valueResult},</if> |
||||
|
<if test="valuePlan != null">value_plan = #{valuePlan},</if> |
||||
|
<if test="dateYear != null">date_year = #{dateYear},</if> |
||||
|
<if test="dateMonth != null">date_month = #{dateMonth},</if> |
||||
|
<if test="dateDay != null">date_day = #{dateDay},</if> |
||||
|
<if test="valueTemp != null">value_temp = #{valueTemp},</if> |
||||
|
<if test="fieldCode != null">field_code = #{fieldCode},</if> |
||||
|
<if test="fieldName != null">field_name = #{fieldName},</if> |
||||
|
<if test="valueAdjust != null">value_adjust = #{valueAdjust},</if> |
||||
|
</trim> |
||||
|
where id = #{id} |
||||
|
</update> |
||||
|
|
||||
|
<delete id="deleteDcBusiTargetDraftDaynewById" parameterType="String"> |
||||
|
delete from dc_busi_target_draft_daynew where id = #{id} |
||||
|
</delete> |
||||
|
|
||||
|
<delete id="deleteDcBusiTargetDraftDaynewByIds" parameterType="String"> |
||||
|
delete from dc_busi_target_draft_daynew where id in |
||||
|
<foreach item="id" collection="array" open="(" separator="," close=")"> |
||||
|
#{id} |
||||
|
</foreach> |
||||
|
</delete> |
||||
|
</mapper> |
Loading…
Reference in new issue