zhousq
1 year ago
16 changed files with 1679 additions and 852 deletions
@ -1,9 +1,9 @@ |
|||
# 代码生成 |
|||
gen: |
|||
# 作者 |
|||
author: ruoyi |
|||
author: win |
|||
# 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool |
|||
packageName: com.lzbi.system |
|||
packageName: com.lzbi |
|||
# 自动去除表前缀,默认是false |
|||
autoRemovePre: false |
|||
# 表前缀(生成类名不会包含表前缀,多个用逗号分隔) |
|||
|
@ -1,132 +1,104 @@ |
|||
package com.lzbi.bi.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import java.util.List; |
|||
import javax.servlet.http.HttpServletResponse; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.PutMapping; |
|||
import org.springframework.web.bind.annotation.DeleteMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import com.lzbi.common.annotation.Log; |
|||
import com.lzbi.common.core.controller.BaseController; |
|||
import com.lzbi.common.core.domain.AjaxResult; |
|||
import com.lzbi.common.core.page.TableDataInfo; |
|||
import com.lzbi.common.enums.BusinessType; |
|||
import com.lzbi.common.utils.DateUtils; |
|||
import com.lzbi.common.utils.poi.ExcelUtil; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import javax.servlet.http.HttpServletResponse; |
|||
import javax.validation.Valid; |
|||
import org.springframework.web.bind.annotation.*; |
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
import java.util.stream.Collectors; |
|||
import com.lzbi.bi.domain.DcBusiTargetAdjust; |
|||
import com.lzbi.bi.service.DcBusiTargetAdjustService; |
|||
import com.lzbi.bi.service.IDcBusiTargetAdjustService; |
|||
import com.lzbi.common.utils.poi.ExcelUtil; |
|||
import com.lzbi.common.core.page.TableDataInfo; |
|||
|
|||
/** |
|||
* 资产指标调整单;(dc_busi_target_adjust)表控制层 |
|||
* @author : zhousq |
|||
* @date : 2023-11-16 |
|||
* 资产指标调整单Controller |
|||
* |
|||
* @author zhousq |
|||
* @date 2023-11-23 |
|||
*/ |
|||
@Api(tags = "资产指标调整单对象功能接口") |
|||
@RestController |
|||
@RequestMapping("/assetData/dcBusiTargetAdjust") |
|||
public class DcBusiTargetAdjustController extends BaseController{ |
|||
@RequestMapping("/asset/AssetTargetAdjustBill") |
|||
public class DcBusiTargetAdjustController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private DcBusiTargetAdjustService dcBusiTargetAdjustService; |
|||
private IDcBusiTargetAdjustService dcBusiTargetAdjustService; |
|||
|
|||
/** |
|||
* 分页列表查询 |
|||
* @return 分页数据 |
|||
* 查询资产指标调整单列表 |
|||
*/ |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetAdjustBill:list')") |
|||
@GetMapping("/list") |
|||
public TableDataInfo list(DcBusiTargetAdjust dcBusiTargetAdjust) |
|||
{ startPage(); |
|||
List<DcBusiTargetAdjust> list = dcBusiTargetAdjustService.selectByVo(dcBusiTargetAdjust); |
|||
{ |
|||
startPage(); |
|||
List<DcBusiTargetAdjust> list = dcBusiTargetAdjustService.selectDcBusiTargetAdjustList(dcBusiTargetAdjust); |
|||
return getDataTable(list); |
|||
} |
|||
|
|||
/** |
|||
*根据ID获取详情 |
|||
*@param id |
|||
@return DcBusiTargetAdjust 没有反馈空 |
|||
*/ |
|||
@ApiOperation("根据ID获取资产指标调整单详细信息") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) { |
|||
return AjaxResult.success(dcBusiTargetAdjustService.getById(id)); |
|||
} |
|||
/** |
|||
* 资产指标调整单-新增 |
|||
*@param dcBusiTargetAdjust |
|||
*@return DcBusiTargetAdjust |
|||
*/ |
|||
@ApiOperation("新增资产指标调整单一条数据") |
|||
@Log(title = "", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
public AjaxResult add(@Valid @RequestBody DcBusiTargetAdjust dcBusiTargetAdjust) { |
|||
//BeanValidators.validateWithException(validator, dcBusiTargetAdjust);
|
|||
dcBusiTargetAdjust.setCreatedBy(getUsername()); |
|||
dcBusiTargetAdjust.setCreatedTime(DateUtils.getNowDate()); |
|||
dcBusiTargetAdjust.setTenantId("0"); |
|||
dcBusiTargetAdjust.setUpdatedBy(getUsername()); |
|||
dcBusiTargetAdjust.setUpdatedTime(DateUtils.getNowDate()); |
|||
return toAjax(dcBusiTargetAdjustService.insertByVo(dcBusiTargetAdjust)); |
|||
} |
|||
/** |
|||
* 资产指标调整单-修改 |
|||
*@param dcBusiTargetAdjust |
|||
*@return DcBusiTargetAdjust |
|||
* 导出资产指标调整单列表 |
|||
*/ |
|||
@ApiOperation("资产指标调整单修改") |
|||
@Log(title = "", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@Valid @RequestBody DcBusiTargetAdjust dcBusiTargetAdjust) { |
|||
//BeanValidators.validateWithException(validator, dcBusiTargetAdjust);
|
|||
dcBusiTargetAdjust.setUpdatedBy(getUsername()); |
|||
dcBusiTargetAdjust.setUpdatedTime(DateUtils.getNowDate()); |
|||
return toAjax(dcBusiTargetAdjustService.updateById(dcBusiTargetAdjust)); |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetAdjustBill:export')") |
|||
@Log(title = "资产指标调整单", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
public void export(HttpServletResponse response, DcBusiTargetAdjust dcBusiTargetAdjust) |
|||
{ |
|||
List<DcBusiTargetAdjust> list = dcBusiTargetAdjustService.selectDcBusiTargetAdjustList(dcBusiTargetAdjust); |
|||
ExcelUtil<DcBusiTargetAdjust> util = new ExcelUtil<DcBusiTargetAdjust>(DcBusiTargetAdjust.class); |
|||
util.exportExcel(response, list, "资产指标调整单数据"); |
|||
} |
|||
|
|||
/** |
|||
* 通过ID删除资产指标调整单 |
|||
* @param |
|||
* @return 成功1 失败0 |
|||
* 获取资产指标调整单详细信息 |
|||
*/ |
|||
@ApiOperation("根据ID删除资产指标调整单") |
|||
@Log(title = "单一资产指标调整单", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/id/{id}") |
|||
public AjaxResult batchRemove(@PathVariable Long id) { |
|||
DcBusiTargetAdjust dcBusiTargetAdjust=new DcBusiTargetAdjust(); |
|||
dcBusiTargetAdjust.setId(id); |
|||
return toAjax(dcBusiTargetAdjustService.removeById( dcBusiTargetAdjust)); |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetAdjustBill:query')") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return success(dcBusiTargetAdjustService.selectDcBusiTargetAdjustById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 批量删除资产指标调整单 |
|||
* @param ids 数组 |
|||
* @return 删除的条数 |
|||
* 新增资产指标调整单 |
|||
*/ |
|||
@ApiOperation("批量删除资产指标调整单") |
|||
@Log(title = "批量删除资产指标调整单", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/ids/{ids}") |
|||
public AjaxResult batchRemove(@PathVariable Long[] ids) { |
|||
List<Long> collect = Arrays.stream(ids).collect(Collectors.toList()); |
|||
return toAjax(dcBusiTargetAdjustService.removeBatchByIds(collect)); |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetAdjustBill:add')") |
|||
@Log(title = "资产指标调整单", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
public AjaxResult add(@RequestBody DcBusiTargetAdjust dcBusiTargetAdjust) |
|||
{ |
|||
return toAjax(dcBusiTargetAdjustService.insertDcBusiTargetAdjust(dcBusiTargetAdjust)); |
|||
} |
|||
|
|||
/** |
|||
* 通过模版导入"资产指标调整单数据 |
|||
* |
|||
* 修改资产指标调整单 |
|||
*/ |
|||
@ApiOperation("资产指标调整单数据导入") |
|||
@PostMapping("/importTemplate") |
|||
public void importTemplate(HttpServletResponse response) { |
|||
ExcelUtil<DcBusiTargetAdjust> util = new ExcelUtil<>(DcBusiTargetAdjust.class); |
|||
util.importTemplateExcel(response, "资产指标调整单导出数据"); |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetAdjustBill:edit')") |
|||
@Log(title = "资产指标调整单", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody DcBusiTargetAdjust dcBusiTargetAdjust) |
|||
{ |
|||
return toAjax(dcBusiTargetAdjustService.updateDcBusiTargetAdjust(dcBusiTargetAdjust)); |
|||
} |
|||
|
|||
/** |
|||
* "资产指标调整单数据导出功能 |
|||
* 删除资产指标调整单 |
|||
*/ |
|||
@ApiOperation("导出资产指标调整单数据") |
|||
@PostMapping("/export") |
|||
public void export(HttpServletResponse response, DcBusiTargetAdjust dcBusiTargetAdjust) { |
|||
QueryWrapper<DcBusiTargetAdjust> queryWrapper = new QueryWrapper<>(); |
|||
List<DcBusiTargetAdjust> list = dcBusiTargetAdjustService.list(queryWrapper); |
|||
ExcelUtil<DcBusiTargetAdjust> util = new ExcelUtil<>(DcBusiTargetAdjust.class); |
|||
util.exportExcel(response, list, "导出的资产指标调整单数据"); |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetAdjustBill:remove')") |
|||
@Log(title = "资产指标调整单", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(dcBusiTargetAdjustService.deleteDcBusiTargetAdjustByIds(ids)); |
|||
} |
|||
} |
|||
} |
|||
|
@ -1,132 +1,104 @@ |
|||
package com.lzbi.bi.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|||
import java.util.List; |
|||
import javax.servlet.http.HttpServletResponse; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.PutMapping; |
|||
import org.springframework.web.bind.annotation.DeleteMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
import com.lzbi.common.annotation.Log; |
|||
import com.lzbi.common.core.controller.BaseController; |
|||
import com.lzbi.common.core.domain.AjaxResult; |
|||
import com.lzbi.common.core.page.TableDataInfo; |
|||
import com.lzbi.common.enums.BusinessType; |
|||
import com.lzbi.common.utils.DateUtils; |
|||
import com.lzbi.common.utils.poi.ExcelUtil; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import javax.servlet.http.HttpServletResponse; |
|||
import javax.validation.Valid; |
|||
import org.springframework.web.bind.annotation.*; |
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
import java.util.stream.Collectors; |
|||
import com.lzbi.bi.domain.DcBusiTargetDraft; |
|||
import com.lzbi.bi.service.DcBusiTargetDraftService; |
|||
import com.lzbi.bi.service.IDcBusiTargetDraftService; |
|||
import com.lzbi.common.utils.poi.ExcelUtil; |
|||
import com.lzbi.common.core.page.TableDataInfo; |
|||
|
|||
/** |
|||
* 指标数据底稿表;(dc_busi_target_draft)表控制层 |
|||
* @author : zhousq |
|||
* @date : 2023-11-16 |
|||
* 指标数据底稿Controller |
|||
* |
|||
* @author zhousq |
|||
* @date 2023-11-23 |
|||
*/ |
|||
@Api(tags = "指标数据底稿表对象功能接口") |
|||
@RestController |
|||
@RequestMapping("/assetData/dcBusiTargetDraft") |
|||
public class DcBusiTargetDraftController extends BaseController{ |
|||
@RequestMapping("/asset/AssetTargetdraft") |
|||
public class DcBusiTargetDraftController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private DcBusiTargetDraftService dcBusiTargetDraftService; |
|||
private IDcBusiTargetDraftService dcBusiTargetDraftService; |
|||
|
|||
/** |
|||
* 分页列表查询 |
|||
* @return 分页数据 |
|||
* 查询指标数据底稿列表 |
|||
*/ |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetdraft:list')") |
|||
@GetMapping("/list") |
|||
public TableDataInfo list(DcBusiTargetDraft dcBusiTargetDraft) |
|||
{ startPage(); |
|||
List<DcBusiTargetDraft> list = dcBusiTargetDraftService.selectByVo(dcBusiTargetDraft); |
|||
{ |
|||
startPage(); |
|||
List<DcBusiTargetDraft> list = dcBusiTargetDraftService.selectDcBusiTargetDraftList(dcBusiTargetDraft); |
|||
return getDataTable(list); |
|||
} |
|||
|
|||
/** |
|||
*根据ID获取详情 |
|||
*@param id |
|||
@return DcBusiTargetDraft 没有反馈空 |
|||
*/ |
|||
@ApiOperation("根据ID获取指标数据底稿表详细信息") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) { |
|||
return AjaxResult.success(dcBusiTargetDraftService.getById(id)); |
|||
} |
|||
/** |
|||
* 指标数据底稿表-新增 |
|||
*@param dcBusiTargetDraft |
|||
*@return DcBusiTargetDraft |
|||
*/ |
|||
@ApiOperation("新增指标数据底稿表一条数据") |
|||
@Log(title = "", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
public AjaxResult add(@Valid @RequestBody DcBusiTargetDraft dcBusiTargetDraft) { |
|||
//BeanValidators.validateWithException(validator, dcBusiTargetDraft);
|
|||
dcBusiTargetDraft.setCreatedBy(getUsername()); |
|||
dcBusiTargetDraft.setCreatedTime(DateUtils.getNowDate()); |
|||
dcBusiTargetDraft.setTenantId("0"); |
|||
dcBusiTargetDraft.setUpdatedBy(getUsername()); |
|||
dcBusiTargetDraft.setUpdatedTime(DateUtils.getNowDate()); |
|||
return toAjax(dcBusiTargetDraftService.insertByVo(dcBusiTargetDraft)); |
|||
} |
|||
/** |
|||
* 指标数据底稿表-修改 |
|||
*@param dcBusiTargetDraft |
|||
*@return DcBusiTargetDraft |
|||
* 导出指标数据底稿列表 |
|||
*/ |
|||
@ApiOperation("指标数据底稿表修改") |
|||
@Log(title = "", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@Valid @RequestBody DcBusiTargetDraft dcBusiTargetDraft) { |
|||
//BeanValidators.validateWithException(validator, dcBusiTargetDraft);
|
|||
dcBusiTargetDraft.setUpdatedBy(getUsername()); |
|||
dcBusiTargetDraft.setUpdatedTime(DateUtils.getNowDate()); |
|||
return toAjax(dcBusiTargetDraftService.updateById(dcBusiTargetDraft)); |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetdraft:export')") |
|||
@Log(title = "指标数据底稿", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
public void export(HttpServletResponse response, DcBusiTargetDraft dcBusiTargetDraft) |
|||
{ |
|||
List<DcBusiTargetDraft> list = dcBusiTargetDraftService.selectDcBusiTargetDraftList(dcBusiTargetDraft); |
|||
ExcelUtil<DcBusiTargetDraft> util = new ExcelUtil<DcBusiTargetDraft>(DcBusiTargetDraft.class); |
|||
util.exportExcel(response, list, "指标数据底稿数据"); |
|||
} |
|||
|
|||
/** |
|||
* 通过ID删除指标数据底稿表 |
|||
* @param |
|||
* @return 成功1 失败0 |
|||
* 获取指标数据底稿详细信息 |
|||
*/ |
|||
@ApiOperation("根据ID删除指标数据底稿表") |
|||
@Log(title = "单一指标数据底稿表", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/id/{id}") |
|||
public AjaxResult batchRemove(@PathVariable Long id) { |
|||
DcBusiTargetDraft dcBusiTargetDraft=new DcBusiTargetDraft(); |
|||
dcBusiTargetDraft.setId(id); |
|||
return toAjax(dcBusiTargetDraftService.removeById( dcBusiTargetDraft)); |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetdraft:query')") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") Long id) |
|||
{ |
|||
return success(dcBusiTargetDraftService.selectDcBusiTargetDraftById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 批量删除指标数据底稿表 |
|||
* @param ids 数组 |
|||
* @return 删除的条数 |
|||
* 新增指标数据底稿 |
|||
*/ |
|||
@ApiOperation("批量删除指标数据底稿表") |
|||
@Log(title = "批量删除指标数据底稿表", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/ids/{ids}") |
|||
public AjaxResult batchRemove(@PathVariable Long[] ids) { |
|||
List<Long> collect = Arrays.stream(ids).collect(Collectors.toList()); |
|||
return toAjax(dcBusiTargetDraftService.removeBatchByIds(collect)); |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetdraft:add')") |
|||
@Log(title = "指标数据底稿", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
public AjaxResult add(@RequestBody DcBusiTargetDraft dcBusiTargetDraft) |
|||
{ |
|||
return toAjax(dcBusiTargetDraftService.insertDcBusiTargetDraft(dcBusiTargetDraft)); |
|||
} |
|||
|
|||
/** |
|||
* 通过模版导入"指标数据底稿表数据 |
|||
* |
|||
* 修改指标数据底稿 |
|||
*/ |
|||
@ApiOperation("指标数据底稿表数据导入") |
|||
@PostMapping("/importTemplate") |
|||
public void importTemplate(HttpServletResponse response) { |
|||
ExcelUtil<DcBusiTargetDraft> util = new ExcelUtil<>(DcBusiTargetDraft.class); |
|||
util.importTemplateExcel(response, "指标数据底稿表导出数据"); |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetdraft:edit')") |
|||
@Log(title = "指标数据底稿", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody DcBusiTargetDraft dcBusiTargetDraft) |
|||
{ |
|||
return toAjax(dcBusiTargetDraftService.updateDcBusiTargetDraft(dcBusiTargetDraft)); |
|||
} |
|||
|
|||
/** |
|||
* "指标数据底稿表数据导出功能 |
|||
* 删除指标数据底稿 |
|||
*/ |
|||
@ApiOperation("导出指标数据底稿表数据") |
|||
@PostMapping("/export") |
|||
public void export(HttpServletResponse response, DcBusiTargetDraft dcBusiTargetDraft) { |
|||
QueryWrapper<DcBusiTargetDraft> queryWrapper = new QueryWrapper<>(); |
|||
List<DcBusiTargetDraft> list = dcBusiTargetDraftService.list(queryWrapper); |
|||
ExcelUtil<DcBusiTargetDraft> util = new ExcelUtil<>(DcBusiTargetDraft.class); |
|||
util.exportExcel(response, list, "导出的指标数据底稿表数据"); |
|||
@PreAuthorize("@ss.hasPermi('assetData:AssetTargetdraft:remove')") |
|||
@Log(title = "指标数据底稿", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable Long[] ids) |
|||
{ |
|||
return toAjax(dcBusiTargetDraftService.deleteDcBusiTargetDraftByIds(ids)); |
|||
} |
|||
} |
|||
} |
|||
|
@ -1,65 +1,296 @@ |
|||
package com.lzbi.bi.domain; |
|||
|
|||
import com.lzbi.common.core.domain.BaseEntity; |
|||
import com.lzbi.module.base.BaseModuleEntity; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import org.apache.commons.lang3.builder.ToStringBuilder; |
|||
import org.apache.commons.lang3.builder.ToStringStyle; |
|||
import com.lzbi.common.annotation.Excel; |
|||
import com.lzbi.common.core.domain.BaseEntity; |
|||
|
|||
/** |
|||
* 资产指标调整单; |
|||
* @author : zhousq |
|||
* @date : 2023-11-16 |
|||
* 资产指标调整单对象 dc_busi_target_adjust |
|||
* |
|||
* @author zhousq |
|||
* @date 2023-11-23 |
|||
*/ |
|||
@Data |
|||
@NoArgsConstructor |
|||
@AllArgsConstructor |
|||
@Accessors(chain = true) |
|||
@ApiModel(value = "资产指标调整单",description = "") |
|||
@TableName("dc_busi_target_adjust") |
|||
public class DcBusiTargetAdjust extends BaseModuleEntity { |
|||
public class DcBusiTargetAdjust extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 租户号 */ |
|||
@Excel(name = "租户号") |
|||
private String tenantId; |
|||
|
|||
/** 乐观锁 */ |
|||
@Excel(name = "乐观锁") |
|||
private Long REVISION; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
private String createdBy; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
private Date createdTime; |
|||
|
|||
/** 更新人 */ |
|||
@Excel(name = "更新人") |
|||
private String updatedBy; |
|||
|
|||
/** 更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
private Date updatedTime; |
|||
|
|||
/** 删除人 */ |
|||
@Excel(name = "删除人") |
|||
private String deleteBy; |
|||
|
|||
/** 删除时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
private Date deleteTime; |
|||
|
|||
/** 单据号 */ |
|||
@ApiModelProperty(name = "单据号",notes = "") |
|||
private String billSerial ; |
|||
@Excel(name = "单据号") |
|||
private String billSerial; |
|||
|
|||
/** 单据类别 */ |
|||
@ApiModelProperty(name = "单据类别",notes = "") |
|||
private String biilType ; |
|||
@Excel(name = "单据类别") |
|||
private String biilType; |
|||
|
|||
/** 指标编码 */ |
|||
@ApiModelProperty(name = "指标编码",notes = "") |
|||
private String targetCode ; |
|||
@Excel(name = "指标编码") |
|||
private String targetCode; |
|||
|
|||
/** 资产ID */ |
|||
@ApiModelProperty(name = "资产ID",notes = "") |
|||
private Integer assetId ; |
|||
@Excel(name = "资产ID") |
|||
private Long assetId; |
|||
|
|||
/** 原始值 */ |
|||
@ApiModelProperty(name = "原始值",notes = "") |
|||
private Double valOrginal ; |
|||
@Excel(name = "原始值") |
|||
private BigDecimal valOrginal; |
|||
|
|||
/** 调整值 */ |
|||
@ApiModelProperty(name = "调整值",notes = "") |
|||
private Double valAdjust ; |
|||
@Excel(name = "调整值") |
|||
private BigDecimal valAdjust; |
|||
|
|||
/** 结果值 */ |
|||
@ApiModelProperty(name = "结果值",notes = "") |
|||
private Double valResult ; |
|||
@Excel(name = "结果值") |
|||
private BigDecimal valResult; |
|||
|
|||
/** 主键 */ |
|||
@ApiModelProperty(name = "主键",notes = "") |
|||
@TableId |
|||
private long id; |
|||
private Long id; |
|||
|
|||
/** 调整目标日期 */ |
|||
@ApiModelProperty(name = "调整目标日期",notes = "") |
|||
private Date dateAdjust ; |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "调整目标日期", width = 30, dateFormat = "yyyy-MM-dd") |
|||
private Date dateAdjust; |
|||
|
|||
/** 调整目标时间 */ |
|||
@ApiModelProperty(name = "调整目标时间",notes = "") |
|||
private String hourAdjust ; |
|||
@Excel(name = "调整目标时间") |
|||
private String hourAdjust; |
|||
|
|||
/** 调整目标日期字符串 */ |
|||
@ApiModelProperty(name = "调整目标日期字符串",notes = "") |
|||
private String dateAdjustStr ; |
|||
@Excel(name = "调整目标日期字符串") |
|||
private String dateAdjustStr; |
|||
|
|||
public void setTenantId(String tenantId) |
|||
{ |
|||
this.tenantId = tenantId; |
|||
} |
|||
|
|||
public String getTenantId() |
|||
{ |
|||
return tenantId; |
|||
} |
|||
public void setREVISION(Long REVISION) |
|||
{ |
|||
this.REVISION = REVISION; |
|||
} |
|||
|
|||
public Long getREVISION() |
|||
{ |
|||
return REVISION; |
|||
} |
|||
public void setCreatedBy(String createdBy) |
|||
{ |
|||
this.createdBy = createdBy; |
|||
} |
|||
|
|||
public String getCreatedBy() |
|||
{ |
|||
return createdBy; |
|||
} |
|||
public void setCreatedTime(Date createdTime) |
|||
{ |
|||
this.createdTime = createdTime; |
|||
} |
|||
|
|||
public Date getCreatedTime() |
|||
{ |
|||
return createdTime; |
|||
} |
|||
public void setUpdatedBy(String updatedBy) |
|||
{ |
|||
this.updatedBy = updatedBy; |
|||
} |
|||
|
|||
public String getUpdatedBy() |
|||
{ |
|||
return updatedBy; |
|||
} |
|||
public void setUpdatedTime(Date updatedTime) |
|||
{ |
|||
this.updatedTime = updatedTime; |
|||
} |
|||
|
|||
public Date getUpdatedTime() |
|||
{ |
|||
return updatedTime; |
|||
} |
|||
public void setDeleteBy(String deleteBy) |
|||
{ |
|||
this.deleteBy = deleteBy; |
|||
} |
|||
|
|||
public String getDeleteBy() |
|||
{ |
|||
return deleteBy; |
|||
} |
|||
public void setDeleteTime(Date deleteTime) |
|||
{ |
|||
this.deleteTime = deleteTime; |
|||
} |
|||
|
|||
public Date getDeleteTime() |
|||
{ |
|||
return deleteTime; |
|||
} |
|||
public void setBillSerial(String billSerial) |
|||
{ |
|||
this.billSerial = billSerial; |
|||
} |
|||
|
|||
public String getBillSerial() |
|||
{ |
|||
return billSerial; |
|||
} |
|||
public void setBiilType(String biilType) |
|||
{ |
|||
this.biilType = biilType; |
|||
} |
|||
|
|||
public String getBiilType() |
|||
{ |
|||
return biilType; |
|||
} |
|||
public void setTargetCode(String targetCode) |
|||
{ |
|||
this.targetCode = targetCode; |
|||
} |
|||
|
|||
public String getTargetCode() |
|||
{ |
|||
return targetCode; |
|||
} |
|||
public void setAssetId(Long assetId) |
|||
{ |
|||
this.assetId = assetId; |
|||
} |
|||
|
|||
public Long getAssetId() |
|||
{ |
|||
return assetId; |
|||
} |
|||
public void setValOrginal(BigDecimal valOrginal) |
|||
{ |
|||
this.valOrginal = valOrginal; |
|||
} |
|||
|
|||
public BigDecimal getValOrginal() |
|||
{ |
|||
return valOrginal; |
|||
} |
|||
public void setValAdjust(BigDecimal valAdjust) |
|||
{ |
|||
this.valAdjust = valAdjust; |
|||
} |
|||
|
|||
public BigDecimal getValAdjust() |
|||
{ |
|||
return valAdjust; |
|||
} |
|||
public void setValResult(BigDecimal valResult) |
|||
{ |
|||
this.valResult = valResult; |
|||
} |
|||
|
|||
public BigDecimal getValResult() |
|||
{ |
|||
return valResult; |
|||
} |
|||
public void setId(Long id) |
|||
{ |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getId() |
|||
{ |
|||
return id; |
|||
} |
|||
public void setDateAdjust(Date dateAdjust) |
|||
{ |
|||
this.dateAdjust = dateAdjust; |
|||
} |
|||
|
|||
public Date getDateAdjust() |
|||
{ |
|||
return dateAdjust; |
|||
} |
|||
public void setHourAdjust(String hourAdjust) |
|||
{ |
|||
this.hourAdjust = hourAdjust; |
|||
} |
|||
|
|||
public String getHourAdjust() |
|||
{ |
|||
return hourAdjust; |
|||
} |
|||
public void setDateAdjustStr(String dateAdjustStr) |
|||
{ |
|||
this.dateAdjustStr = dateAdjustStr; |
|||
} |
|||
|
|||
public String getDateAdjustStr() |
|||
{ |
|||
return dateAdjustStr; |
|||
} |
|||
|
|||
} |
|||
@Override |
|||
public String toString() { |
|||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|||
.append("tenantId", getTenantId()) |
|||
.append("REVISION", getREVISION()) |
|||
.append("createdBy", getCreatedBy()) |
|||
.append("createdTime", getCreatedTime()) |
|||
.append("updatedBy", getUpdatedBy()) |
|||
.append("updatedTime", getUpdatedTime()) |
|||
.append("deleteBy", getDeleteBy()) |
|||
.append("deleteTime", getDeleteTime()) |
|||
.append("billSerial", getBillSerial()) |
|||
.append("biilType", getBiilType()) |
|||
.append("targetCode", getTargetCode()) |
|||
.append("assetId", getAssetId()) |
|||
.append("valOrginal", getValOrginal()) |
|||
.append("valAdjust", getValAdjust()) |
|||
.append("valResult", getValResult()) |
|||
.append("id", getId()) |
|||
.append("dateAdjust", getDateAdjust()) |
|||
.append("hourAdjust", getHourAdjust()) |
|||
.append("dateAdjustStr", getDateAdjustStr()) |
|||
.toString(); |
|||
} |
|||
} |
|||
|
@ -1,156 +1,729 @@ |
|||
package com.lzbi.bi.domain; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.util.Date; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.Data; |
|||
import lombok.NoArgsConstructor; |
|||
import lombok.experimental.Accessors; |
|||
import com.lzbi.module.base.BaseModuleEntity; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import org.apache.commons.lang3.builder.ToStringBuilder; |
|||
import org.apache.commons.lang3.builder.ToStringStyle; |
|||
import com.lzbi.common.annotation.Excel; |
|||
import com.lzbi.common.core.domain.BaseEntity; |
|||
|
|||
/** |
|||
* 指标数据底稿表; |
|||
* @author : zhousq |
|||
* @date : 2023-11-16 |
|||
* 指标数据底稿对象 dc_busi_target_draft |
|||
* |
|||
* @author zhousq |
|||
* @date 2023-11-23 |
|||
*/ |
|||
@Data |
|||
@NoArgsConstructor |
|||
@AllArgsConstructor |
|||
@Accessors(chain = true) |
|||
@ApiModel(value = "指标数据底稿表",description = "") |
|||
@TableName("dc_busi_target_draft") |
|||
public class DcBusiTargetDraft extends BaseModuleEntity{ |
|||
public class DcBusiTargetDraft extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 租户号 */ |
|||
@Excel(name = "租户号") |
|||
private String tenantId; |
|||
|
|||
/** 乐观锁 */ |
|||
@Excel(name = "乐观锁") |
|||
private Long REVISION; |
|||
|
|||
/** 创建人 */ |
|||
@Excel(name = "创建人") |
|||
private String createdBy; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
private Date createdTime; |
|||
|
|||
/** 更新人 */ |
|||
@Excel(name = "更新人") |
|||
private String updatedBy; |
|||
|
|||
/** 更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
private Date updatedTime; |
|||
|
|||
/** 删除人 */ |
|||
@Excel(name = "删除人") |
|||
private String deleteBy; |
|||
|
|||
/** 删除时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd") |
|||
@Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd") |
|||
private Date deleteTime; |
|||
|
|||
/** 主键 */ |
|||
@ApiModelProperty(name = "主键",notes = "") |
|||
@TableId |
|||
private long id; |
|||
private Long id; |
|||
|
|||
/** 指标主键 */ |
|||
@ApiModelProperty(name = "指标主键",notes = "") |
|||
private Integer targetId ; |
|||
@Excel(name = "指标主键") |
|||
private Long targetId; |
|||
|
|||
/** 指标编码 */ |
|||
@ApiModelProperty(name = "指标编码",notes = "") |
|||
private String targetCode ; |
|||
@Excel(name = "指标编码") |
|||
private String targetCode; |
|||
|
|||
/** 年份 */ |
|||
@ApiModelProperty(name = "年份",notes = "") |
|||
private String countYear ; |
|||
@Excel(name = "年份") |
|||
private String countYear; |
|||
|
|||
/** 月份 */ |
|||
@ApiModelProperty(name = "月份",notes = "") |
|||
private String countMonth ; |
|||
@Excel(name = "月份") |
|||
private String countMonth; |
|||
|
|||
/** 日 */ |
|||
@ApiModelProperty(name = "日",notes = "") |
|||
private String countDay ; |
|||
@Excel(name = "日") |
|||
private String countDay; |
|||
|
|||
/** 1时;[00:00:00,00:59:59] */ |
|||
@ApiModelProperty(name = "1时",notes = "[00:00:00,00:59:59]") |
|||
private Double val01 ; |
|||
@Excel(name = "1时;[00:00:00,00:59:59]") |
|||
private BigDecimal val01; |
|||
|
|||
/** 2时;[01:00:00,01:59:59] */ |
|||
@ApiModelProperty(name = "2时",notes = "[01:00:00,01:59:59]") |
|||
private Double val02 ; |
|||
@Excel(name = "2时;[01:00:00,01:59:59]") |
|||
private BigDecimal val02; |
|||
|
|||
/** 3时;[02:00:00,02:59:59] */ |
|||
@ApiModelProperty(name = "3时",notes = "[02:00:00,02:59:59]") |
|||
private Double val03 ; |
|||
@Excel(name = "3时;[02:00:00,02:59:59]") |
|||
private BigDecimal val03; |
|||
|
|||
/** 4时 */ |
|||
@ApiModelProperty(name = "4时",notes = "") |
|||
private Double val04 ; |
|||
@Excel(name = "4时") |
|||
private BigDecimal val04; |
|||
|
|||
/** 5时 */ |
|||
@ApiModelProperty(name = "5时",notes = "") |
|||
private Double val05 ; |
|||
@Excel(name = "5时") |
|||
private BigDecimal val05; |
|||
|
|||
/** 6时 */ |
|||
@ApiModelProperty(name = "6时",notes = "") |
|||
private Double val06 ; |
|||
@Excel(name = "6时") |
|||
private BigDecimal val06; |
|||
|
|||
/** 7时 */ |
|||
@ApiModelProperty(name = "7时",notes = "") |
|||
private Double val07 ; |
|||
@Excel(name = "7时") |
|||
private BigDecimal val07; |
|||
|
|||
/** 8时 */ |
|||
@ApiModelProperty(name = "8时",notes = "") |
|||
private Double val08 ; |
|||
@Excel(name = "8时") |
|||
private BigDecimal val08; |
|||
|
|||
/** 9时 */ |
|||
@ApiModelProperty(name = "9时",notes = "") |
|||
private Double val09 ; |
|||
@Excel(name = "9时") |
|||
private BigDecimal val09; |
|||
|
|||
/** 10时 */ |
|||
@ApiModelProperty(name = "10时",notes = "") |
|||
private Double val10 ; |
|||
@Excel(name = "10时") |
|||
private BigDecimal val10; |
|||
|
|||
/** 11时 */ |
|||
@ApiModelProperty(name = "11时",notes = "") |
|||
private Double val11 ; |
|||
@Excel(name = "11时") |
|||
private BigDecimal val11; |
|||
|
|||
/** 12时 */ |
|||
@ApiModelProperty(name = "12时",notes = "") |
|||
private Double val12 ; |
|||
@Excel(name = "12时") |
|||
private BigDecimal val12; |
|||
|
|||
/** 13时 */ |
|||
@ApiModelProperty(name = "13时",notes = "") |
|||
private Double val13 ; |
|||
@Excel(name = "13时") |
|||
private BigDecimal val13; |
|||
|
|||
/** 14时 */ |
|||
@ApiModelProperty(name = "14时",notes = "") |
|||
private Double val14 ; |
|||
@Excel(name = "14时") |
|||
private BigDecimal val14; |
|||
|
|||
/** 15时 */ |
|||
@ApiModelProperty(name = "15时",notes = "") |
|||
private Double val15 ; |
|||
@Excel(name = "15时") |
|||
private BigDecimal val15; |
|||
|
|||
/** 16时 */ |
|||
@ApiModelProperty(name = "16时",notes = "") |
|||
private Double val16 ; |
|||
@Excel(name = "16时") |
|||
private BigDecimal val16; |
|||
|
|||
/** 17时 */ |
|||
@ApiModelProperty(name = "17时",notes = "") |
|||
private Double val17 ; |
|||
@Excel(name = "17时") |
|||
private BigDecimal val17; |
|||
|
|||
/** 18时 */ |
|||
@ApiModelProperty(name = "18时",notes = "") |
|||
private Double val18 ; |
|||
@Excel(name = "18时") |
|||
private BigDecimal val18; |
|||
|
|||
/** 18时 */ |
|||
@ApiModelProperty(name = "18时",notes = "") |
|||
private Double val19 ; |
|||
@Excel(name = "18时") |
|||
private BigDecimal val19; |
|||
|
|||
/** 20时 */ |
|||
@ApiModelProperty(name = "20时",notes = "") |
|||
private Double val20 ; |
|||
@Excel(name = "20时") |
|||
private BigDecimal val20; |
|||
|
|||
/** 21时 */ |
|||
@ApiModelProperty(name = "21时",notes = "") |
|||
private Double val21 ; |
|||
@Excel(name = "21时") |
|||
private BigDecimal val21; |
|||
|
|||
/** 22时 */ |
|||
@ApiModelProperty(name = "22时",notes = "") |
|||
private Double val22 ; |
|||
@Excel(name = "22时") |
|||
private BigDecimal val22; |
|||
|
|||
/** 23时 */ |
|||
@ApiModelProperty(name = "23时",notes = "") |
|||
private Double val23 ; |
|||
@Excel(name = "23时") |
|||
private BigDecimal val23; |
|||
|
|||
/** 24时 */ |
|||
@ApiModelProperty(name = "24时",notes = "") |
|||
private Double val24 ; |
|||
@Excel(name = "24时") |
|||
private BigDecimal val24; |
|||
|
|||
/** 公司 */ |
|||
@ApiModelProperty(name = "公司",notes = "") |
|||
private String companyCode ; |
|||
@Excel(name = "公司") |
|||
private String companyCode; |
|||
|
|||
/** 公司名称 */ |
|||
@ApiModelProperty(name = "公司名称",notes = "") |
|||
private String companyName ; |
|||
@Excel(name = "公司名称") |
|||
private String companyName; |
|||
|
|||
/** 组织机构代码 */ |
|||
@ApiModelProperty(name = "组织机构代码",notes = "") |
|||
private String orgCode ; |
|||
@Excel(name = "组织机构代码") |
|||
private String orgCode; |
|||
|
|||
/** 组织机构名称 */ |
|||
@ApiModelProperty(name = "组织机构名称",notes = "") |
|||
private String orgName ; |
|||
@Excel(name = "组织机构名称") |
|||
private String orgName; |
|||
|
|||
/** 生产专业 */ |
|||
@ApiModelProperty(name = "生产专业",notes = "") |
|||
private String workType ; |
|||
@Excel(name = "生产专业") |
|||
private String workType; |
|||
|
|||
/** 统计单元名称 */ |
|||
@ApiModelProperty(name = "统计单元名称",notes = "") |
|||
private String countUnitName ; |
|||
@Excel(name = "统计单元名称") |
|||
private String countUnitName; |
|||
|
|||
/** 资产ID */ |
|||
@ApiModelProperty(name = "资产ID",notes = "") |
|||
private Integer assetId ; |
|||
@Excel(name = "资产ID") |
|||
private Long assetId; |
|||
|
|||
/** 上线 */ |
|||
@ApiModelProperty(name = "上线",notes = "") |
|||
private Double valUpLimit ; |
|||
@Excel(name = "上线") |
|||
private BigDecimal valUpLimit; |
|||
|
|||
/** 下线 */ |
|||
@ApiModelProperty(name = "下线",notes = "") |
|||
private Double valDownLimit ; |
|||
@Excel(name = "下线") |
|||
private BigDecimal valDownLimit; |
|||
|
|||
/** 均值 */ |
|||
@ApiModelProperty(name = "均值",notes = "") |
|||
private Double valAvg ; |
|||
@Excel(name = "均值") |
|||
private BigDecimal valAvg; |
|||
|
|||
/** 合值 */ |
|||
@ApiModelProperty(name = "合值",notes = "") |
|||
private Double valTotal ; |
|||
@Excel(name = "合值") |
|||
private BigDecimal valTotal; |
|||
|
|||
/** 积算 */ |
|||
@ApiModelProperty(name = "积算",notes = "") |
|||
private Double valCompute ; |
|||
@Excel(name = "积算") |
|||
private BigDecimal valCompute; |
|||
|
|||
public void setTenantId(String tenantId) |
|||
{ |
|||
this.tenantId = tenantId; |
|||
} |
|||
|
|||
public String getTenantId() |
|||
{ |
|||
return tenantId; |
|||
} |
|||
public void setREVISION(Long REVISION) |
|||
{ |
|||
this.REVISION = REVISION; |
|||
} |
|||
|
|||
public Long getREVISION() |
|||
{ |
|||
return REVISION; |
|||
} |
|||
public void setCreatedBy(String createdBy) |
|||
{ |
|||
this.createdBy = createdBy; |
|||
} |
|||
|
|||
public String getCreatedBy() |
|||
{ |
|||
return createdBy; |
|||
} |
|||
public void setCreatedTime(Date createdTime) |
|||
{ |
|||
this.createdTime = createdTime; |
|||
} |
|||
|
|||
public Date getCreatedTime() |
|||
{ |
|||
return createdTime; |
|||
} |
|||
public void setUpdatedBy(String updatedBy) |
|||
{ |
|||
this.updatedBy = updatedBy; |
|||
} |
|||
|
|||
public String getUpdatedBy() |
|||
{ |
|||
return updatedBy; |
|||
} |
|||
public void setUpdatedTime(Date updatedTime) |
|||
{ |
|||
this.updatedTime = updatedTime; |
|||
} |
|||
|
|||
public Date getUpdatedTime() |
|||
{ |
|||
return updatedTime; |
|||
} |
|||
public void setDeleteBy(String deleteBy) |
|||
{ |
|||
this.deleteBy = deleteBy; |
|||
} |
|||
|
|||
public String getDeleteBy() |
|||
{ |
|||
return deleteBy; |
|||
} |
|||
public void setDeleteTime(Date deleteTime) |
|||
{ |
|||
this.deleteTime = deleteTime; |
|||
} |
|||
|
|||
public Date getDeleteTime() |
|||
{ |
|||
return deleteTime; |
|||
} |
|||
public void setId(Long id) |
|||
{ |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getId() |
|||
{ |
|||
return id; |
|||
} |
|||
public void setTargetId(Long targetId) |
|||
{ |
|||
this.targetId = targetId; |
|||
} |
|||
|
|||
public Long getTargetId() |
|||
{ |
|||
return targetId; |
|||
} |
|||
public void setTargetCode(String targetCode) |
|||
{ |
|||
this.targetCode = targetCode; |
|||
} |
|||
|
|||
public String getTargetCode() |
|||
{ |
|||
return targetCode; |
|||
} |
|||
public void setCountYear(String countYear) |
|||
{ |
|||
this.countYear = countYear; |
|||
} |
|||
|
|||
public String getCountYear() |
|||
{ |
|||
return countYear; |
|||
} |
|||
public void setCountMonth(String countMonth) |
|||
{ |
|||
this.countMonth = countMonth; |
|||
} |
|||
|
|||
public String getCountMonth() |
|||
{ |
|||
return countMonth; |
|||
} |
|||
public void setCountDay(String countDay) |
|||
{ |
|||
this.countDay = countDay; |
|||
} |
|||
|
|||
public String getCountDay() |
|||
{ |
|||
return countDay; |
|||
} |
|||
public void setVal01(BigDecimal val01) |
|||
{ |
|||
this.val01 = val01; |
|||
} |
|||
|
|||
public BigDecimal getVal01() |
|||
{ |
|||
return val01; |
|||
} |
|||
public void setVal02(BigDecimal val02) |
|||
{ |
|||
this.val02 = val02; |
|||
} |
|||
|
|||
public BigDecimal getVal02() |
|||
{ |
|||
return val02; |
|||
} |
|||
public void setVal03(BigDecimal val03) |
|||
{ |
|||
this.val03 = val03; |
|||
} |
|||
|
|||
public BigDecimal getVal03() |
|||
{ |
|||
return val03; |
|||
} |
|||
public void setVal04(BigDecimal val04) |
|||
{ |
|||
this.val04 = val04; |
|||
} |
|||
|
|||
public BigDecimal getVal04() |
|||
{ |
|||
return val04; |
|||
} |
|||
public void setVal05(BigDecimal val05) |
|||
{ |
|||
this.val05 = val05; |
|||
} |
|||
|
|||
public BigDecimal getVal05() |
|||
{ |
|||
return val05; |
|||
} |
|||
public void setVal06(BigDecimal val06) |
|||
{ |
|||
this.val06 = val06; |
|||
} |
|||
|
|||
public BigDecimal getVal06() |
|||
{ |
|||
return val06; |
|||
} |
|||
public void setVal07(BigDecimal val07) |
|||
{ |
|||
this.val07 = val07; |
|||
} |
|||
|
|||
public BigDecimal getVal07() |
|||
{ |
|||
return val07; |
|||
} |
|||
public void setVal08(BigDecimal val08) |
|||
{ |
|||
this.val08 = val08; |
|||
} |
|||
|
|||
public BigDecimal getVal08() |
|||
{ |
|||
return val08; |
|||
} |
|||
public void setVal09(BigDecimal val09) |
|||
{ |
|||
this.val09 = val09; |
|||
} |
|||
|
|||
public BigDecimal getVal09() |
|||
{ |
|||
return val09; |
|||
} |
|||
public void setVal10(BigDecimal val10) |
|||
{ |
|||
this.val10 = val10; |
|||
} |
|||
|
|||
public BigDecimal getVal10() |
|||
{ |
|||
return val10; |
|||
} |
|||
public void setVal11(BigDecimal val11) |
|||
{ |
|||
this.val11 = val11; |
|||
} |
|||
|
|||
public BigDecimal getVal11() |
|||
{ |
|||
return val11; |
|||
} |
|||
public void setVal12(BigDecimal val12) |
|||
{ |
|||
this.val12 = val12; |
|||
} |
|||
|
|||
public BigDecimal getVal12() |
|||
{ |
|||
return val12; |
|||
} |
|||
public void setVal13(BigDecimal val13) |
|||
{ |
|||
this.val13 = val13; |
|||
} |
|||
|
|||
public BigDecimal getVal13() |
|||
{ |
|||
return val13; |
|||
} |
|||
public void setVal14(BigDecimal val14) |
|||
{ |
|||
this.val14 = val14; |
|||
} |
|||
|
|||
public BigDecimal getVal14() |
|||
{ |
|||
return val14; |
|||
} |
|||
public void setVal15(BigDecimal val15) |
|||
{ |
|||
this.val15 = val15; |
|||
} |
|||
|
|||
public BigDecimal getVal15() |
|||
{ |
|||
return val15; |
|||
} |
|||
public void setVal16(BigDecimal val16) |
|||
{ |
|||
this.val16 = val16; |
|||
} |
|||
|
|||
public BigDecimal getVal16() |
|||
{ |
|||
return val16; |
|||
} |
|||
public void setVal17(BigDecimal val17) |
|||
{ |
|||
this.val17 = val17; |
|||
} |
|||
|
|||
public BigDecimal getVal17() |
|||
{ |
|||
return val17; |
|||
} |
|||
public void setVal18(BigDecimal val18) |
|||
{ |
|||
this.val18 = val18; |
|||
} |
|||
|
|||
public BigDecimal getVal18() |
|||
{ |
|||
return val18; |
|||
} |
|||
public void setVal19(BigDecimal val19) |
|||
{ |
|||
this.val19 = val19; |
|||
} |
|||
|
|||
public BigDecimal getVal19() |
|||
{ |
|||
return val19; |
|||
} |
|||
public void setVal20(BigDecimal val20) |
|||
{ |
|||
this.val20 = val20; |
|||
} |
|||
|
|||
public BigDecimal getVal20() |
|||
{ |
|||
return val20; |
|||
} |
|||
public void setVal21(BigDecimal val21) |
|||
{ |
|||
this.val21 = val21; |
|||
} |
|||
|
|||
public BigDecimal getVal21() |
|||
{ |
|||
return val21; |
|||
} |
|||
public void setVal22(BigDecimal val22) |
|||
{ |
|||
this.val22 = val22; |
|||
} |
|||
|
|||
public BigDecimal getVal22() |
|||
{ |
|||
return val22; |
|||
} |
|||
public void setVal23(BigDecimal val23) |
|||
{ |
|||
this.val23 = val23; |
|||
} |
|||
|
|||
public BigDecimal getVal23() |
|||
{ |
|||
return val23; |
|||
} |
|||
public void setVal24(BigDecimal val24) |
|||
{ |
|||
this.val24 = val24; |
|||
} |
|||
|
|||
public BigDecimal getVal24() |
|||
{ |
|||
return val24; |
|||
} |
|||
public void setCompanyCode(String companyCode) |
|||
{ |
|||
this.companyCode = companyCode; |
|||
} |
|||
|
|||
public String getCompanyCode() |
|||
{ |
|||
return companyCode; |
|||
} |
|||
public void setCompanyName(String companyName) |
|||
{ |
|||
this.companyName = companyName; |
|||
} |
|||
|
|||
public String getCompanyName() |
|||
{ |
|||
return companyName; |
|||
} |
|||
public void setOrgCode(String orgCode) |
|||
{ |
|||
this.orgCode = orgCode; |
|||
} |
|||
|
|||
public String getOrgCode() |
|||
{ |
|||
return orgCode; |
|||
} |
|||
public void setOrgName(String orgName) |
|||
{ |
|||
this.orgName = orgName; |
|||
} |
|||
|
|||
public String getOrgName() |
|||
{ |
|||
return orgName; |
|||
} |
|||
public void setWorkType(String workType) |
|||
{ |
|||
this.workType = workType; |
|||
} |
|||
|
|||
public String getWorkType() |
|||
{ |
|||
return workType; |
|||
} |
|||
public void setCountUnitName(String countUnitName) |
|||
{ |
|||
this.countUnitName = countUnitName; |
|||
} |
|||
|
|||
public String getCountUnitName() |
|||
{ |
|||
return countUnitName; |
|||
} |
|||
public void setAssetId(Long assetId) |
|||
{ |
|||
this.assetId = assetId; |
|||
} |
|||
|
|||
public Long getAssetId() |
|||
{ |
|||
return assetId; |
|||
} |
|||
public void setValUpLimit(BigDecimal valUpLimit) |
|||
{ |
|||
this.valUpLimit = valUpLimit; |
|||
} |
|||
|
|||
public BigDecimal getValUpLimit() |
|||
{ |
|||
return valUpLimit; |
|||
} |
|||
public void setValDownLimit(BigDecimal valDownLimit) |
|||
{ |
|||
this.valDownLimit = valDownLimit; |
|||
} |
|||
|
|||
public BigDecimal getValDownLimit() |
|||
{ |
|||
return valDownLimit; |
|||
} |
|||
public void setValAvg(BigDecimal valAvg) |
|||
{ |
|||
this.valAvg = valAvg; |
|||
} |
|||
|
|||
public BigDecimal getValAvg() |
|||
{ |
|||
return valAvg; |
|||
} |
|||
public void setValTotal(BigDecimal valTotal) |
|||
{ |
|||
this.valTotal = valTotal; |
|||
} |
|||
|
|||
public BigDecimal getValTotal() |
|||
{ |
|||
return valTotal; |
|||
} |
|||
public void setValCompute(BigDecimal valCompute) |
|||
{ |
|||
this.valCompute = valCompute; |
|||
} |
|||
|
|||
public BigDecimal getValCompute() |
|||
{ |
|||
return valCompute; |
|||
} |
|||
|
|||
} |
|||
@Override |
|||
public String toString() { |
|||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|||
.append("tenantId", getTenantId()) |
|||
.append("REVISION", getREVISION()) |
|||
.append("createdBy", getCreatedBy()) |
|||
.append("createdTime", getCreatedTime()) |
|||
.append("updatedBy", getUpdatedBy()) |
|||
.append("updatedTime", getUpdatedTime()) |
|||
.append("deleteBy", getDeleteBy()) |
|||
.append("deleteTime", getDeleteTime()) |
|||
.append("id", getId()) |
|||
.append("targetId", getTargetId()) |
|||
.append("targetCode", getTargetCode()) |
|||
.append("countYear", getCountYear()) |
|||
.append("countMonth", getCountMonth()) |
|||
.append("countDay", getCountDay()) |
|||
.append("val01", getVal01()) |
|||
.append("val02", getVal02()) |
|||
.append("val03", getVal03()) |
|||
.append("val04", getVal04()) |
|||
.append("val05", getVal05()) |
|||
.append("val06", getVal06()) |
|||
.append("val07", getVal07()) |
|||
.append("val08", getVal08()) |
|||
.append("val09", getVal09()) |
|||
.append("val10", getVal10()) |
|||
.append("val11", getVal11()) |
|||
.append("val12", getVal12()) |
|||
.append("val13", getVal13()) |
|||
.append("val14", getVal14()) |
|||
.append("val15", getVal15()) |
|||
.append("val16", getVal16()) |
|||
.append("val17", getVal17()) |
|||
.append("val18", getVal18()) |
|||
.append("val19", getVal19()) |
|||
.append("val20", getVal20()) |
|||
.append("val21", getVal21()) |
|||
.append("val22", getVal22()) |
|||
.append("val23", getVal23()) |
|||
.append("val24", getVal24()) |
|||
.append("companyCode", getCompanyCode()) |
|||
.append("companyName", getCompanyName()) |
|||
.append("orgCode", getOrgCode()) |
|||
.append("orgName", getOrgName()) |
|||
.append("workType", getWorkType()) |
|||
.append("countUnitName", getCountUnitName()) |
|||
.append("assetId", getAssetId()) |
|||
.append("valUpLimit", getValUpLimit()) |
|||
.append("valDownLimit", getValDownLimit()) |
|||
.append("valAvg", getValAvg()) |
|||
.append("valTotal", getValTotal()) |
|||
.append("valCompute", getValCompute()) |
|||
.toString(); |
|||
} |
|||
} |
|||
|
@ -1,17 +1,61 @@ |
|||
package com.lzbi.bi.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.InterceptorIgnore; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.lzbi.bi.domain.DcBusiTargetAdjust; |
|||
import java.util.List; |
|||
import com.lzbi.bi.domain.DcBusiTargetAdjust; |
|||
|
|||
/** |
|||
* 资产指标调整单;(dc_busi_target_adjust)表数据库访问层 |
|||
* @author : zhousq |
|||
* @date : 2023-11-16 |
|||
* 资产指标调整单Mapper接口 |
|||
* |
|||
* @author zhousq |
|||
* @date 2023-11-23 |
|||
*/ |
|||
@InterceptorIgnore(tenantLine = "true") |
|||
public interface DcBusiTargetAdjustMapper extends BaseMapper<DcBusiTargetAdjust>{ |
|||
List<DcBusiTargetAdjust> selectByVo( DcBusiTargetAdjust beanVo); |
|||
int insertByVo( DcBusiTargetAdjust beanVo); |
|||
} |
|||
public interface DcBusiTargetAdjustMapper |
|||
{ |
|||
/** |
|||
* 查询资产指标调整单 |
|||
* |
|||
* @param id 资产指标调整单主键 |
|||
* @return 资产指标调整单 |
|||
*/ |
|||
public DcBusiTargetAdjust selectDcBusiTargetAdjustById(Long id); |
|||
|
|||
/** |
|||
* 查询资产指标调整单列表 |
|||
* |
|||
* @param dcBusiTargetAdjust 资产指标调整单 |
|||
* @return 资产指标调整单集合 |
|||
*/ |
|||
public List<DcBusiTargetAdjust> selectDcBusiTargetAdjustList(DcBusiTargetAdjust dcBusiTargetAdjust); |
|||
|
|||
/** |
|||
* 新增资产指标调整单 |
|||
* |
|||
* @param dcBusiTargetAdjust 资产指标调整单 |
|||
* @return 结果 |
|||
*/ |
|||
public int insertDcBusiTargetAdjust(DcBusiTargetAdjust dcBusiTargetAdjust); |
|||
|
|||
/** |
|||
* 修改资产指标调整单 |
|||
* |
|||
* @param dcBusiTargetAdjust 资产指标调整单 |
|||
* @return 结果 |
|||
*/ |
|||
public int updateDcBusiTargetAdjust(DcBusiTargetAdjust dcBusiTargetAdjust); |
|||
|
|||
/** |
|||
* 删除资产指标调整单 |
|||
* |
|||
* @param id 资产指标调整单主键 |
|||
* @return 结果 |
|||
*/ |
|||
public int deleteDcBusiTargetAdjustById(Long id); |
|||
|
|||
/** |
|||
* 批量删除资产指标调整单 |
|||
* |
|||
* @param ids 需要删除的数据主键集合 |
|||
* @return 结果 |
|||
*/ |
|||
public int deleteDcBusiTargetAdjustByIds(Long[] ids); |
|||
} |
|||
|
@ -1,17 +1,61 @@ |
|||
package com.lzbi.bi.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.InterceptorIgnore; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.lzbi.bi.domain.DcBusiTargetDraft; |
|||
import java.util.List; |
|||
import com.lzbi.bi.domain.DcBusiTargetDraft; |
|||
|
|||
/** |
|||
* 指标数据底稿表;(dc_busi_target_draft)表数据库访问层 |
|||
* @author : zhousq |
|||
* @date : 2023-11-16 |
|||
* 指标数据底稿Mapper接口 |
|||
* |
|||
* @author zhousq |
|||
* @date 2023-11-23 |
|||
*/ |
|||
@InterceptorIgnore(tenantLine = "true") |
|||
public interface DcBusiTargetDraftMapper extends BaseMapper<DcBusiTargetDraft>{ |
|||
List<DcBusiTargetDraft> selectByVo( DcBusiTargetDraft beanVo); |
|||
int insertByVo( DcBusiTargetDraft beanVo); |
|||
} |
|||
public interface DcBusiTargetDraftMapper |
|||
{ |
|||
/** |
|||
* 查询指标数据底稿 |
|||
* |
|||
* @param id 指标数据底稿主键 |
|||
* @return 指标数据底稿 |
|||
*/ |
|||
public DcBusiTargetDraft selectDcBusiTargetDraftById(Long id); |
|||
|
|||
/** |
|||
* 查询指标数据底稿列表 |
|||
* |
|||
* @param dcBusiTargetDraft 指标数据底稿 |
|||
* @return 指标数据底稿集合 |
|||
*/ |
|||
public List<DcBusiTargetDraft> selectDcBusiTargetDraftList(DcBusiTargetDraft dcBusiTargetDraft); |
|||
|
|||
/** |
|||
* 新增指标数据底稿 |
|||
* |
|||
* @param dcBusiTargetDraft 指标数据底稿 |
|||
* @return 结果 |
|||
*/ |
|||
public int insertDcBusiTargetDraft(DcBusiTargetDraft dcBusiTargetDraft); |
|||
|
|||
/** |
|||
* 修改指标数据底稿 |
|||
* |
|||
* @param dcBusiTargetDraft 指标数据底稿 |
|||
* @return 结果 |
|||
*/ |
|||
public int updateDcBusiTargetDraft(DcBusiTargetDraft dcBusiTargetDraft); |
|||
|
|||
/** |
|||
* 删除指标数据底稿 |
|||
* |
|||
* @param id 指标数据底稿主键 |
|||
* @return 结果 |
|||
*/ |
|||
public int deleteDcBusiTargetDraftById(Long id); |
|||
|
|||
/** |
|||
* 批量删除指标数据底稿 |
|||
* |
|||
* @param ids 需要删除的数据主键集合 |
|||
* @return 结果 |
|||
*/ |
|||
public int deleteDcBusiTargetDraftByIds(Long[] ids); |
|||
} |
|||
|
Loading…
Reference in new issue