From a5444e5eae5962c78b062a395702f62dec3a4a56 Mon Sep 17 00:00:00 2001 From: zhousq Date: Wed, 6 Dec 2023 10:37:35 +0800 Subject: [PATCH] =?UTF-8?q?2023-12-6=20=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=99=A8=E4=BF=AE=E6=94=B9=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=A1=A8=E6=95=B0=E6=8D=AE=E5=BA=95=E7=A8=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/vm/java/domain.java.vm | 2 +- .../src/main/resources/vm/java/mapper.java.vm | 8 +- .../com/lzbi/common/SelectOptionsControl.java | 40 +++++- .../DcBusiTargetDraftDayController.java | 26 ++-- ...tDayDao.java => DcBusiTargetDraftDay.java} | 11 +- .../mapper/DcBusiTargetDraftDayMapper.java | 20 +-- .../service/DcBusiTargetDraftDayService.java | 38 ++--- .../asset/DcBusiTargetDraftDayMapper.xml | 130 +++++++++--------- 8 files changed, 149 insertions(+), 126 deletions(-) rename lzbi-module/src/main/java/com/lzbi/draft/domain/{DcBusiTargetDraftDayDao.java => DcBusiTargetDraftDay.java} (84%) diff --git a/lzbi-generator/src/main/resources/vm/java/domain.java.vm b/lzbi-generator/src/main/resources/vm/java/domain.java.vm index 3bc7312..919565d 100644 --- a/lzbi-generator/src/main/resources/vm/java/domain.java.vm +++ b/lzbi-generator/src/main/resources/vm/java/domain.java.vm @@ -24,7 +24,7 @@ import com.lzbi.common.core.domain.TreeEntity; #elseif($table.tree) #set($Entity="TreeEntity") #end - @Data +@Data public class ${ClassName} extends ${Entity} { private static final long serialVersionUID = 1L; diff --git a/lzbi-generator/src/main/resources/vm/java/mapper.java.vm b/lzbi-generator/src/main/resources/vm/java/mapper.java.vm index 0f1f3b1..1f88888 100644 --- a/lzbi-generator/src/main/resources/vm/java/mapper.java.vm +++ b/lzbi-generator/src/main/resources/vm/java/mapper.java.vm @@ -71,15 +71,15 @@ public interface ${ClassName}Mapper extends BaseMapper<${ClassName}> * @param ${pkColumn.javaField}s 需要删除的数据主键集合 * @return 结果 */ - public int delete${subClassName}By${subTableFkClassName}Daos(${pkColumn.javaType}[] ${pkColumn.javaField}s); + public int delete${subClassName}By${subTableFkClassName}s(${pkColumn.javaType}[] ${pkColumn.javaField}s); /** * 批量新增${subTable.functionName} * - * @param ${subclassName}DaoList ${subTable.functionName}列表 + * @param ${subclassName}List ${subTable.functionName}列表 * @return 结果 */ - public int batch${subClassName}(List<${subClassName}> ${subclassName}DaoList); + public int batch${subClassName}(List<${subClassName}> ${subclassName}List); /** @@ -88,6 +88,6 @@ public interface ${ClassName}Mapper extends BaseMapper<${ClassName}> * @param ${pkColumn.javaField} ${functionName}ID * @return 结果 */ - public int delete${subClassName}By${subTableFkClassName}Dao(${pkColumn.javaType} ${pkColumn.javaField}); + public int delete${subClassName}By${subTableFkClassName}(${pkColumn.javaType} ${pkColumn.javaField}); #end } diff --git a/lzbi-module/src/main/java/com/lzbi/common/SelectOptionsControl.java b/lzbi-module/src/main/java/com/lzbi/common/SelectOptionsControl.java index d5d54de..d81a86b 100644 --- a/lzbi-module/src/main/java/com/lzbi/common/SelectOptionsControl.java +++ b/lzbi-module/src/main/java/com/lzbi/common/SelectOptionsControl.java @@ -11,7 +11,9 @@ import com.lzbi.common.core.domain.entity.SysDept; import com.lzbi.special.domain.DcBaseWorkSpecial; import com.lzbi.special.service.DcBaseWorkSpecialService; import com.lzbi.system.service.impl.SysDeptServiceImpl; -import io.swagger.annotations.ApiModel; +import com.lzbi.targetFolder.domain.DcBaseAssetTargetDao; +import com.lzbi.targetFolder.service.DcBaseAssetTargetService; +import io.swagger.annotations.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.lang.Nullable; import org.springframework.web.bind.annotation.*; @@ -23,7 +25,7 @@ import java.util.List; * @date 2023/12/5 * SelectOptionsControl */ -@ApiModel("通用选择接口") +@Api("公用下拉列表接口") @RestController @RequestMapping("/tool") public class SelectOptionsControl extends BaseController { @@ -35,7 +37,13 @@ public class SelectOptionsControl extends BaseController { IDcBaseAssetInfoService dcBaseAssetInfoService; @Autowired DcBusiParamSourceService dcBusiParamSourceService; + @Autowired + private DcBaseAssetTargetService dcBaseAssetTargetService; ///获取部门类型为公司的列表,树形选择 + @ApiOperation("获取公司选择树形列表") + @ApiImplicitParams({ + @ApiImplicitParam(name = "depId", value = "上级部门编码默认0", dataType = "Long", dataTypeClass = Long.class), + }) @GetMapping("/company/tree/{depId}") public AjaxResult getCompanyTreeList(@Nullable @PathVariable Long depId){ if(depId==0){ @@ -46,6 +54,10 @@ public class SelectOptionsControl extends BaseController { return AjaxResult.success( treeSelects) ; } //普通列表 + @ApiOperation("获取公司选择普通列表") + @ApiImplicitParams({ + @ApiImplicitParam(name = "depId", value = "上级部门编码默认0", dataType = "Long", dataTypeClass = Long.class), + }) @GetMapping("/company/list/{depId}") public AjaxResult getCompanyList(@Nullable @PathVariable Long depId){ if(depId==0){ @@ -54,6 +66,10 @@ public class SelectOptionsControl extends BaseController { return AjaxResult.success(sysDeptService.selectCompany(depId)) ; } ///获取部门类型为组织的列表 + @ApiOperation("获取部门选择普通列表") + @ApiImplicitParams({ + @ApiImplicitParam(name = "depId", value = "上级部门编码默认0", dataType = "Long", dataTypeClass = Long.class), + }) @GetMapping("/org/list/{depId}") public AjaxResult getOrgList(@Nullable @PathVariable Long depId){ if(depId==0){ @@ -61,7 +77,10 @@ public class SelectOptionsControl extends BaseController { } return AjaxResult.success(sysDeptService.selectOrg(depId)) ; } - ///获取部门类型为组织的树形选择 + @ApiOperation("获取公司选选择树形列表") + @ApiImplicitParams({ + @ApiImplicitParam(name = "depId", value = "上级部门编码默认0", dataType = "Long", dataTypeClass = Long.class), + }) @GetMapping("/org/tree/{depId}") public AjaxResult getOrgTreeList(@Nullable @PathVariable Long depId){ if(depId==0){ @@ -70,7 +89,8 @@ public class SelectOptionsControl extends BaseController { List lsysDept = sysDeptService.selectOrg(depId); return AjaxResult.success(sysDeptService.buildDeptTreeSelect(lsysDept)) ; } - //获取生产专业的列表 + // + @ApiOperation("获取生产专业的列表") @GetMapping("/special/list") public AjaxResult getSepcialSelectList() { @@ -78,6 +98,7 @@ public class SelectOptionsControl extends BaseController { return AjaxResult.success( dcBaseWorkSpecialService.selectDcBaseWorkSpecialDictList(dcBaseWorkSpecialDao)); } //根据条件获取统计单元列表 + @ApiOperation("获取统计单元列表") @PostMapping("/assetInfo/list") public AjaxResult getAssetSelectList(@RequestBody AssetQueryParams assetQueryParams) { @@ -88,14 +109,23 @@ public class SelectOptionsControl extends BaseController { return AjaxResult.success(dcBaseAssetInfoService.selectDcBaseAssetInfoList(dcBaseAssetInfo)); } //根据条件获取统计单元指标列表 + @ApiOperation("获取统计单元指标列表") @PostMapping("/assetTaget/list") public AjaxResult getAssetTargetSelectList(@RequestBody AssetQueryParams assetQueryParams) { - + DcBaseAssetTargetDao dcBaseAssetTargetDao=new DcBaseAssetTargetDao(); + dcBaseAssetTargetDao.setAssetCode(assetQueryParams.getAssetCode()); + dcBaseAssetTargetDao.setAssetId(assetQueryParams.getAssetId()); + dcBaseAssetTargetService.selectDcBaseAssetTargetDaoList(dcBaseAssetTargetDao); return AjaxResult.success(null); } // //获取IOT参数列表 + //fcode 惨胡 + @ApiOperation("获取采集参数列表") + @ApiImplicitParams({ + @ApiImplicitParam(name = "fcode", value = "生产专业编码", dataType = "String", dataTypeClass = String.class), + }) @GetMapping("/iotParam/list/{fcode}") public AjaxResult getAssetIotParamList(@PathVariable String fcode) { diff --git a/lzbi-module/src/main/java/com/lzbi/draft/controller/DcBusiTargetDraftDayController.java b/lzbi-module/src/main/java/com/lzbi/draft/controller/DcBusiTargetDraftDayController.java index c287bf7..8954d29 100644 --- a/lzbi-module/src/main/java/com/lzbi/draft/controller/DcBusiTargetDraftDayController.java +++ b/lzbi-module/src/main/java/com/lzbi/draft/controller/DcBusiTargetDraftDayController.java @@ -16,7 +16,7 @@ import com.lzbi.common.annotation.Log; import com.lzbi.common.core.controller.BaseController; import com.lzbi.common.core.domain.AjaxResult; import com.lzbi.common.enums.BusinessType; -import com.lzbi.draft.domain.DcBusiTargetDraftDayDao; +import com.lzbi.draft.domain.DcBusiTargetDraftDay; import com.lzbi.draft.service.DcBusiTargetDraftDayService; import com.lzbi.common.utils.poi.ExcelUtil; import com.lzbi.common.core.page.TableDataInfo; @@ -28,7 +28,7 @@ import com.lzbi.common.core.page.TableDataInfo; * @date 2023-11-28 */ @RestController -@RequestMapping("/asset/targetDay") +@RequestMapping("/draft/targetDayDraft") public class DcBusiTargetDraftDayController extends BaseController { @Autowired @@ -39,10 +39,10 @@ public class DcBusiTargetDraftDayController extends BaseController */ @PreAuthorize("@ss.hasPermi('target:targetDay:list')") @GetMapping("/list") - public TableDataInfo list(DcBusiTargetDraftDayDao dcBusiTargetDraftDayDao) + public TableDataInfo list(DcBusiTargetDraftDay dcBusiTargetDraftDay) { startPage(); - List list = dcBusiTargetDraftDayService.selectDcBusiTargetDraftDayDaoList(dcBusiTargetDraftDayDao); + List list = dcBusiTargetDraftDayService.selectDcBusiTargetDraftDayList(dcBusiTargetDraftDay); return getDataTable(list); } @@ -52,10 +52,10 @@ public class DcBusiTargetDraftDayController extends BaseController @PreAuthorize("@ss.hasPermi('target:targetDay:export')") @Log(title = "指标数据底稿(日)", businessType = BusinessType.EXPORT) @PostMapping("/export") - public void export(HttpServletResponse response, DcBusiTargetDraftDayDao dcBusiTargetDraftDayDao) + public void export(HttpServletResponse response, DcBusiTargetDraftDay dcBusiTargetDraftDay) { - List list = dcBusiTargetDraftDayService.selectDcBusiTargetDraftDayDaoList(dcBusiTargetDraftDayDao); - ExcelUtil util = new ExcelUtil(DcBusiTargetDraftDayDao.class); + List list = dcBusiTargetDraftDayService.selectDcBusiTargetDraftDayList(dcBusiTargetDraftDay); + ExcelUtil util = new ExcelUtil(DcBusiTargetDraftDay.class); util.exportExcel(response, list, "指标数据底稿(日)数据"); } @@ -66,7 +66,7 @@ public class DcBusiTargetDraftDayController extends BaseController @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { - return success(dcBusiTargetDraftDayService.selectDcBusiTargetDraftDayDaoById(id)); + return success(dcBusiTargetDraftDayService.selectDcBusiTargetDraftDayById(id)); } /** @@ -75,9 +75,9 @@ public class DcBusiTargetDraftDayController extends BaseController @PreAuthorize("@ss.hasPermi('target:targetDay:add')") @Log(title = "指标数据底稿(日)", businessType = BusinessType.INSERT) @PostMapping - public AjaxResult add(@RequestBody DcBusiTargetDraftDayDao dcBusiTargetDraftDayDao) + public AjaxResult add(@RequestBody DcBusiTargetDraftDay dcBusiTargetDraftDay) { - return toAjax(dcBusiTargetDraftDayService.insertDcBusiTargetDraftDayDao(dcBusiTargetDraftDayDao)); + return toAjax(dcBusiTargetDraftDayService.insertDcBusiTargetDraftDay(dcBusiTargetDraftDay)); } /** @@ -86,9 +86,9 @@ public class DcBusiTargetDraftDayController extends BaseController @PreAuthorize("@ss.hasPermi('target:targetDay:edit')") @Log(title = "指标数据底稿(日)", businessType = BusinessType.UPDATE) @PutMapping - public AjaxResult edit(@RequestBody DcBusiTargetDraftDayDao dcBusiTargetDraftDayDao) + public AjaxResult edit(@RequestBody DcBusiTargetDraftDay dcBusiTargetDraftDay) { - return toAjax(dcBusiTargetDraftDayService.updateDcBusiTargetDraftDayDao(dcBusiTargetDraftDayDao)); + return toAjax(dcBusiTargetDraftDayService.updateDcBusiTargetDraftDay(dcBusiTargetDraftDay)); } /** @@ -99,6 +99,6 @@ public class DcBusiTargetDraftDayController extends BaseController @DeleteMapping("/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { - return toAjax(dcBusiTargetDraftDayService.deleteDcBusiTargetDraftDayDaoByIds(ids)); + return toAjax(dcBusiTargetDraftDayService.deleteDcBusiTargetDraftDayByIds(ids)); } } diff --git a/lzbi-module/src/main/java/com/lzbi/draft/domain/DcBusiTargetDraftDayDao.java b/lzbi-module/src/main/java/com/lzbi/draft/domain/DcBusiTargetDraftDay.java similarity index 84% rename from lzbi-module/src/main/java/com/lzbi/draft/domain/DcBusiTargetDraftDayDao.java rename to lzbi-module/src/main/java/com/lzbi/draft/domain/DcBusiTargetDraftDay.java index 7748f43..9718c6d 100644 --- a/lzbi-module/src/main/java/com/lzbi/draft/domain/DcBusiTargetDraftDayDao.java +++ b/lzbi-module/src/main/java/com/lzbi/draft/domain/DcBusiTargetDraftDay.java @@ -1,11 +1,8 @@ package com.lzbi.draft.domain; import java.math.BigDecimal; -import java.util.Date; -import com.fasterxml.jackson.annotation.JsonFormat; + import lombok.Data; -import org.apache.commons.lang3.builder.ToStringBuilder; -import org.apache.commons.lang3.builder.ToStringStyle; import com.lzbi.common.annotation.Excel; import com.lzbi.module.base.BaseModuleEntity; @@ -16,7 +13,7 @@ import com.lzbi.module.base.BaseModuleEntity; * @date 2023-11-28 */ @Data -public class DcBusiTargetDraftDayDao extends BaseModuleEntity +public class DcBusiTargetDraftDay extends BaseModuleEntity { private static final long serialVersionUID = 1L; @@ -29,11 +26,11 @@ public class DcBusiTargetDraftDayDao extends BaseModuleEntity /** 公司编码 */ @Excel(name = "公司编码") - private String companyCode; + private Long companyId; /** 组织机构代码 */ @Excel(name = "组织机构代码") - private String orgCode; + private Long orgId; /** 组织机构名称 */ @Excel(name = "组织机构名称") diff --git a/lzbi-module/src/main/java/com/lzbi/draft/mapper/DcBusiTargetDraftDayMapper.java b/lzbi-module/src/main/java/com/lzbi/draft/mapper/DcBusiTargetDraftDayMapper.java index d2f12a2..6d0269a 100644 --- a/lzbi-module/src/main/java/com/lzbi/draft/mapper/DcBusiTargetDraftDayMapper.java +++ b/lzbi-module/src/main/java/com/lzbi/draft/mapper/DcBusiTargetDraftDayMapper.java @@ -2,7 +2,7 @@ package com.lzbi.draft.mapper; import java.util.List; -import com.lzbi.draft.domain.DcBusiTargetDraftDayDao; +import com.lzbi.draft.domain.DcBusiTargetDraftDay; import com.baomidou.mybatisplus.core.mapper.BaseMapper; /** @@ -12,7 +12,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; * @date 2023-11-28 */ -public interface DcBusiTargetDraftDayMapper extends BaseMapper +public interface DcBusiTargetDraftDayMapper extends BaseMapper { /** * 查询指标数据底稿(日) @@ -20,23 +20,23 @@ public interface DcBusiTargetDraftDayMapper extends BaseMapper selectDcBusiTargetDraftDayDaoList(DcBusiTargetDraftDayDao dcBusiTargetDraftDayDao); + public List selectDcBusiTargetDraftDayList(DcBusiTargetDraftDay dcBusiTargetDraftDay); /** * 新增指标数据底稿(日) * - * @param dcBusiTargetDraftDayDao 指标数据底稿(日) + * @param dcBusiTargetDraftDay 指标数据底稿(日) * @return 结果 */ - public int insertDcBusiTargetDraftDayDao(DcBusiTargetDraftDayDao dcBusiTargetDraftDayDao); + public int insertDcBusiTargetDraftDay(DcBusiTargetDraftDay dcBusiTargetDraftDay); /** * 修改指标数据底稿(日) @@ -44,7 +44,7 @@ public interface DcBusiTargetDraftDayMapper extends BaseMapper implements IService +public class DcBusiTargetDraftDayService extends ServiceImpl implements IService { /** @@ -24,46 +24,46 @@ public class DcBusiTargetDraftDayService extends ServiceImpl selectDcBusiTargetDraftDayDaoList(DcBusiTargetDraftDayDao dcBusiTargetDraftDayDao) + public List selectDcBusiTargetDraftDayList(DcBusiTargetDraftDay dcBusiTargetDraftDay) { - return baseMapper.selectDcBusiTargetDraftDayDaoList(dcBusiTargetDraftDayDao); + return baseMapper.selectDcBusiTargetDraftDayList(dcBusiTargetDraftDay); } /** * 新增指标数据底稿(日) * - * @param dcBusiTargetDraftDayDao 指标数据底稿(日) + * @param dcBusiTargetDraftDay 指标数据底稿(日) * @return 结果 */ - public int insertDcBusiTargetDraftDayDao(DcBusiTargetDraftDayDao dcBusiTargetDraftDayDao) + public int insertDcBusiTargetDraftDay(DcBusiTargetDraftDay dcBusiTargetDraftDay) { - dcBusiTargetDraftDayDao.setCreatedTime(DateUtils.getNowDate()); - return baseMapper.insertDcBusiTargetDraftDayDao(dcBusiTargetDraftDayDao); + dcBusiTargetDraftDay.setCreatedTime(DateUtils.getNowDate()); + return baseMapper.insertDcBusiTargetDraftDay(dcBusiTargetDraftDay); } /** * 修改指标数据底稿(日) * - * @param dcBusiTargetDraftDayDao 指标数据底稿(日) + * @param dcBusiTargetDraftDay 指标数据底稿(日) * @return 结果 */ - public int updateDcBusiTargetDraftDayDao(DcBusiTargetDraftDayDao dcBusiTargetDraftDayDao) + public int updateDcBusiTargetDraftDay(DcBusiTargetDraftDay dcBusiTargetDraftDay) { - dcBusiTargetDraftDayDao.setUpdatedTime(DateUtils.getNowDate()); - return baseMapper.updateDcBusiTargetDraftDayDao(dcBusiTargetDraftDayDao); + dcBusiTargetDraftDay.setUpdatedTime(DateUtils.getNowDate()); + return baseMapper.updateDcBusiTargetDraftDay(dcBusiTargetDraftDay); } /** @@ -73,9 +73,9 @@ public class DcBusiTargetDraftDayService extends ServiceImpl - - - - - - - - - + - - + + - + + + @@ -28,57 +22,50 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - + + + + + + + + - select TENANT_ID, REVISION, CREATED_BY, CREATED_TIME, UPDATED_BY, UPDATED_TIME, DELETE_BY, DELETE_TIME, id, company_name, company_code, org_code, org_name, asset_code, asset_name, field_type, target_name, target_code, target_uint, count_date, val_original, val_adjust, val_result, val_plan from dc_busi_target_draft_day + select id, company_name, company_id, org_id, org_name, asset_code, asset_name, field_code, field_name, target_name_alias, target_name, target_code, target_uint, count_date, val_original, val_adjust, val_result, tenant_id, revision, created_by, created_time, updated_by, updated_time, delete_by, delete_time from dc_busi_target_draft_day - - and company_name like concat('%', #{companyName}, '%') - and company_code = #{companyCode} - and org_code = #{orgCode} - and org_name like concat('%', #{orgName}, '%') + and company_id = #{companyId} + and org_id = #{orgId} and asset_code = #{assetCode} - and asset_name like concat('%', #{assetName}, '%') - and field_type = #{fieldType} + and field_code = #{fieldCode} and target_name like concat('%', #{targetName}, '%') and target_code = #{targetCode} - and target_uint = #{targetUint} and count_date = #{countDate} - and val_original = #{valOriginal} - and val_adjust = #{valAdjust} - and val_result = #{valResult} - and val_plan = #{valPlan} - where id = #{id} - + insert into dc_busi_target_draft_day - TENANT_ID, - REVISION, - CREATED_BY, - CREATED_TIME, - UPDATED_BY, - UPDATED_TIME, - DELETE_BY, - DELETE_TIME, company_name, - company_code, - org_code, + company_id, + org_id, org_name, asset_code, asset_name, - field_type, + field_code, + field_name, + target_name_alias, target_name, target_code, target_uint, @@ -86,24 +73,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" val_original, val_adjust, val_result, - val_plan, + tenant_id, + revision, + created_by, + created_time, + updated_by, + updated_time, + delete_by, + delete_time, - #{tenantId}, - #{REVISION}, - #{createdBy}, - #{createdTime}, - #{updatedBy}, - #{updatedTime}, - #{deleteBy}, - #{deleteTime}, #{companyName}, - #{companyCode}, - #{orgCode}, + #{companyId}, + #{orgId}, #{orgName}, #{assetCode}, #{assetName}, - #{fieldType}, + #{fieldCode}, + #{fieldName}, + #{targetNameAlias}, #{targetName}, #{targetCode}, #{targetUint}, @@ -111,28 +99,29 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{valOriginal}, #{valAdjust}, #{valResult}, - #{valPlan}, + #{tenantId}, + #{revision}, + #{createdBy}, + #{createdTime}, + #{updatedBy}, + #{updatedTime}, + #{deleteBy}, + #{deleteTime}, - + update dc_busi_target_draft_day - TENANT_ID = #{tenantId}, - REVISION = #{REVISION}, - CREATED_BY = #{createdBy}, - CREATED_TIME = #{createdTime}, - UPDATED_BY = #{updatedBy}, - UPDATED_TIME = #{updatedTime}, - DELETE_BY = #{deleteBy}, - DELETE_TIME = #{deleteTime}, company_name = #{companyName}, - company_code = #{companyCode}, - org_code = #{orgCode}, + company_id = #{companyId}, + org_id = #{orgId}, org_name = #{orgName}, asset_code = #{assetCode}, asset_name = #{assetName}, - field_type = #{fieldType}, + field_code = #{fieldCode}, + field_name = #{fieldName}, + target_name_alias = #{targetNameAlias}, target_name = #{targetName}, target_code = #{targetCode}, target_uint = #{targetUint}, @@ -140,16 +129,23 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" val_original = #{valOriginal}, val_adjust = #{valAdjust}, val_result = #{valResult}, - val_plan = #{valPlan}, + tenant_id = #{tenantId}, + revision = #{revision}, + created_by = #{createdBy}, + created_time = #{createdTime}, + updated_by = #{updatedBy}, + updated_time = #{updatedTime}, + delete_by = #{deleteBy}, + delete_time = #{deleteTime}, where id = #{id} - + delete from dc_busi_target_draft_day where id = #{id} - + delete from dc_busi_target_draft_day where id in #{id}