86 changed files with 5547 additions and 0 deletions
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsActivityCenterVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsActivityCenterBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityCenter; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityCenterService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 活动成本中心项 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/activityCenter") |
|||
public class TbsActivityCenterController { |
|||
|
|||
private TbsActivityCenterService tbsActivityCenterService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:activityCenter:query')") |
|||
public R<List<TbsActivityCenter>> getPage(TbsActivityCenterVo param){ |
|||
TbsActivityCenter entity = CopierUtil.copy(param,new TbsActivityCenter()); |
|||
LambdaQueryWrapper<TbsActivityCenter> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivityCenter> list = tbsActivityCenterService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:activityCenter:query')") |
|||
public R<PageVo<TbsActivityCenter>> getPage(TbsActivityCenter param){ |
|||
TbsActivityCenter entity = CopierUtil.copy(param,new TbsActivityCenter()); |
|||
LambdaQueryWrapper<TbsActivityCenter> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivityCenter> list = tbsActivityCenterService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "活动成本中心项", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:activityCenter:query')") |
|||
public R<TbsActivityCenter> getById(@PathVariable("id") String id){ |
|||
TbsActivityCenter tbsActivityCenter = tbsActivityCenterService.getById(id); |
|||
return R.ok(tbsActivityCenter); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "活动成本中心项", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:activityCenter:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsActivityCenterBo param){ |
|||
TbsActivityCenter entity = CopierUtil.copy(param,new TbsActivityCenter()); |
|||
boolean result = tbsActivityCenterService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "活动成本中心项", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:activityCenter:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsActivityCenter param){ |
|||
TbsActivityCenter entity = CopierUtil.copy(param,new TbsActivityCenter()); |
|||
boolean result = tbsActivityCenterService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "活动成本中心项", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:activityCenter:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsActivityCenterService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsActivityCenterGoodsVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsActivityCenterGoodsBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityCenterGoods; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityCenterGoodsService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 活动成本中心配比项 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/activityCenterGoods") |
|||
public class TbsActivityCenterGoodsController { |
|||
|
|||
private TbsActivityCenterGoodsService tbsActivityCenterGoodsService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:activityCenterGoods:query')") |
|||
public R<List<TbsActivityCenterGoods>> getPage(TbsActivityCenterGoodsVo param){ |
|||
TbsActivityCenterGoods entity = CopierUtil.copy(param,new TbsActivityCenterGoods()); |
|||
LambdaQueryWrapper<TbsActivityCenterGoods> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivityCenterGoods> list = tbsActivityCenterGoodsService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:activityCenterGoods:query')") |
|||
public R<PageVo<TbsActivityCenterGoods>> getPage(TbsActivityCenterGoods param){ |
|||
TbsActivityCenterGoods entity = CopierUtil.copy(param,new TbsActivityCenterGoods()); |
|||
LambdaQueryWrapper<TbsActivityCenterGoods> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivityCenterGoods> list = tbsActivityCenterGoodsService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "活动成本中心配比项", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:activityCenterGoods:query')") |
|||
public R<TbsActivityCenterGoods> getById(@PathVariable("id") String id){ |
|||
TbsActivityCenterGoods tbsActivityCenterGoods = tbsActivityCenterGoodsService.getById(id); |
|||
return R.ok(tbsActivityCenterGoods); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "活动成本中心配比项", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:activityCenterGoods:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsActivityCenterGoodsBo param){ |
|||
TbsActivityCenterGoods entity = CopierUtil.copy(param,new TbsActivityCenterGoods()); |
|||
boolean result = tbsActivityCenterGoodsService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "活动成本中心配比项", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:activityCenterGoods:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsActivityCenterGoods param){ |
|||
TbsActivityCenterGoods entity = CopierUtil.copy(param,new TbsActivityCenterGoods()); |
|||
boolean result = tbsActivityCenterGoodsService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "活动成本中心配比项", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:activityCenterGoods:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsActivityCenterGoodsService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsActivityChannelVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsActivityChannelBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityChannel; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityChannelService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 活动渠道项 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/activityChannel") |
|||
public class TbsActivityChannelController { |
|||
|
|||
private TbsActivityChannelService tbsActivityChannelService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:activityChannel:query')") |
|||
public R<List<TbsActivityChannel>> getPage(TbsActivityChannelVo param){ |
|||
TbsActivityChannel entity = CopierUtil.copy(param,new TbsActivityChannel()); |
|||
LambdaQueryWrapper<TbsActivityChannel> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivityChannel> list = tbsActivityChannelService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:activityChannel:query')") |
|||
public R<PageVo<TbsActivityChannel>> getPage(TbsActivityChannel param){ |
|||
TbsActivityChannel entity = CopierUtil.copy(param,new TbsActivityChannel()); |
|||
LambdaQueryWrapper<TbsActivityChannel> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivityChannel> list = tbsActivityChannelService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "活动渠道项", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:activityChannel:query')") |
|||
public R<TbsActivityChannel> getById(@PathVariable("id") String id){ |
|||
TbsActivityChannel tbsActivityChannel = tbsActivityChannelService.getById(id); |
|||
return R.ok(tbsActivityChannel); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "活动渠道项", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:activityChannel:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsActivityChannelBo param){ |
|||
TbsActivityChannel entity = CopierUtil.copy(param,new TbsActivityChannel()); |
|||
boolean result = tbsActivityChannelService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "活动渠道项", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:activityChannel:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsActivityChannel param){ |
|||
TbsActivityChannel entity = CopierUtil.copy(param,new TbsActivityChannel()); |
|||
boolean result = tbsActivityChannelService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "活动渠道项", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:activityChannel:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsActivityChannelService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsActivityChannelPointVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsActivityChannelPointBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityChannelPoint; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityChannelPointService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 活动网点项 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/activityChannelPoint") |
|||
public class TbsActivityChannelPointController { |
|||
|
|||
private TbsActivityChannelPointService tbsActivityChannelPointService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:activityChannelPoint:query')") |
|||
public R<List<TbsActivityChannelPoint>> getPage(TbsActivityChannelPointVo param){ |
|||
TbsActivityChannelPoint entity = CopierUtil.copy(param,new TbsActivityChannelPoint()); |
|||
LambdaQueryWrapper<TbsActivityChannelPoint> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivityChannelPoint> list = tbsActivityChannelPointService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:activityChannelPoint:query')") |
|||
public R<PageVo<TbsActivityChannelPoint>> getPage(TbsActivityChannelPoint param){ |
|||
TbsActivityChannelPoint entity = CopierUtil.copy(param,new TbsActivityChannelPoint()); |
|||
LambdaQueryWrapper<TbsActivityChannelPoint> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivityChannelPoint> list = tbsActivityChannelPointService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "活动网点项", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:activityChannelPoint:query')") |
|||
public R<TbsActivityChannelPoint> getById(@PathVariable("id") String id){ |
|||
TbsActivityChannelPoint tbsActivityChannelPoint = tbsActivityChannelPointService.getById(id); |
|||
return R.ok(tbsActivityChannelPoint); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "活动网点项", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:activityChannelPoint:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsActivityChannelPointBo param){ |
|||
TbsActivityChannelPoint entity = CopierUtil.copy(param,new TbsActivityChannelPoint()); |
|||
boolean result = tbsActivityChannelPointService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "活动网点项", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:activityChannelPoint:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsActivityChannelPoint param){ |
|||
TbsActivityChannelPoint entity = CopierUtil.copy(param,new TbsActivityChannelPoint()); |
|||
boolean result = tbsActivityChannelPointService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "活动网点项", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:activityChannelPoint:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsActivityChannelPointService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsActivityVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsActivityBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivity; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 费用活动 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/activity") |
|||
public class TbsActivityController { |
|||
|
|||
private TbsActivityService tbsActivityService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:activity:query')") |
|||
public R<List<TbsActivity>> getPage(TbsActivityVo param){ |
|||
TbsActivity entity = CopierUtil.copy(param,new TbsActivity()); |
|||
LambdaQueryWrapper<TbsActivity> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivity> list = tbsActivityService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:activity:query')") |
|||
public R<PageVo<TbsActivity>> getPage(TbsActivity param){ |
|||
TbsActivity entity = CopierUtil.copy(param,new TbsActivity()); |
|||
LambdaQueryWrapper<TbsActivity> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivity> list = tbsActivityService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "费用活动", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:activity:query')") |
|||
public R<TbsActivity> getById(@PathVariable("id") String id){ |
|||
TbsActivity tbsActivity = tbsActivityService.getById(id); |
|||
return R.ok(tbsActivity); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "费用活动", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:activity:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsActivityBo param){ |
|||
TbsActivity entity = CopierUtil.copy(param,new TbsActivity()); |
|||
boolean result = tbsActivityService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "费用活动", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:activity:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsActivity param){ |
|||
TbsActivity entity = CopierUtil.copy(param,new TbsActivity()); |
|||
boolean result = tbsActivityService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "费用活动", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:activity:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsActivityService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsActivityGoodsVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsActivityGoodsBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityGoods; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityGoodsService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 活动商品项 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/activityGoods") |
|||
public class TbsActivityGoodsController { |
|||
|
|||
private TbsActivityGoodsService tbsActivityGoodsService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:activityGoods:query')") |
|||
public R<List<TbsActivityGoods>> getPage(TbsActivityGoodsVo param){ |
|||
TbsActivityGoods entity = CopierUtil.copy(param,new TbsActivityGoods()); |
|||
LambdaQueryWrapper<TbsActivityGoods> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivityGoods> list = tbsActivityGoodsService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:activityGoods:query')") |
|||
public R<PageVo<TbsActivityGoods>> getPage(TbsActivityGoods param){ |
|||
TbsActivityGoods entity = CopierUtil.copy(param,new TbsActivityGoods()); |
|||
LambdaQueryWrapper<TbsActivityGoods> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsActivityGoods> list = tbsActivityGoodsService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "活动商品项", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:activityGoods:query')") |
|||
public R<TbsActivityGoods> getById(@PathVariable("id") String id){ |
|||
TbsActivityGoods tbsActivityGoods = tbsActivityGoodsService.getById(id); |
|||
return R.ok(tbsActivityGoods); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "活动商品项", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:activityGoods:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsActivityGoodsBo param){ |
|||
TbsActivityGoods entity = CopierUtil.copy(param,new TbsActivityGoods()); |
|||
boolean result = tbsActivityGoodsService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "活动商品项", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:activityGoods:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsActivityGoods param){ |
|||
TbsActivityGoods entity = CopierUtil.copy(param,new TbsActivityGoods()); |
|||
boolean result = tbsActivityGoodsService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "活动商品项", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:activityGoods:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsActivityGoodsService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsBudgetConditionVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsBudgetConditionBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsBudgetCondition; |
|||
import com.qs.serve.modules.tbs.service.TbsBudgetConditionService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 预算条件 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/budgetCondition") |
|||
public class TbsBudgetConditionController { |
|||
|
|||
private TbsBudgetConditionService tbsBudgetConditionService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:budgetCondition:query')") |
|||
public R<List<TbsBudgetCondition>> getPage(TbsBudgetConditionVo param){ |
|||
TbsBudgetCondition entity = CopierUtil.copy(param,new TbsBudgetCondition()); |
|||
LambdaQueryWrapper<TbsBudgetCondition> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsBudgetCondition> list = tbsBudgetConditionService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:budgetCondition:query')") |
|||
public R<PageVo<TbsBudgetCondition>> getPage(TbsBudgetCondition param){ |
|||
TbsBudgetCondition entity = CopierUtil.copy(param,new TbsBudgetCondition()); |
|||
LambdaQueryWrapper<TbsBudgetCondition> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsBudgetCondition> list = tbsBudgetConditionService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "预算条件", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:budgetCondition:query')") |
|||
public R<TbsBudgetCondition> getById(@PathVariable("id") String id){ |
|||
TbsBudgetCondition tbsBudgetCondition = tbsBudgetConditionService.getById(id); |
|||
return R.ok(tbsBudgetCondition); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "预算条件", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:budgetCondition:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsBudgetConditionBo param){ |
|||
TbsBudgetCondition entity = CopierUtil.copy(param,new TbsBudgetCondition()); |
|||
boolean result = tbsBudgetConditionService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "预算条件", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:budgetCondition:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsBudgetCondition param){ |
|||
TbsBudgetCondition entity = CopierUtil.copy(param,new TbsBudgetCondition()); |
|||
boolean result = tbsBudgetConditionService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "预算条件", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:budgetCondition:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsBudgetConditionService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsBudgetVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsBudgetBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsBudget; |
|||
import com.qs.serve.modules.tbs.service.TbsBudgetService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 预算 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/budget") |
|||
public class TbsBudgetController { |
|||
|
|||
private TbsBudgetService tbsBudgetService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:budget:query')") |
|||
public R<List<TbsBudget>> getPage(TbsBudgetVo param){ |
|||
TbsBudget entity = CopierUtil.copy(param,new TbsBudget()); |
|||
LambdaQueryWrapper<TbsBudget> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsBudget> list = tbsBudgetService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:budget:query')") |
|||
public R<PageVo<TbsBudget>> getPage(TbsBudget param){ |
|||
TbsBudget entity = CopierUtil.copy(param,new TbsBudget()); |
|||
LambdaQueryWrapper<TbsBudget> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsBudget> list = tbsBudgetService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "预算", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:budget:query')") |
|||
public R<TbsBudget> getById(@PathVariable("id") String id){ |
|||
TbsBudget tbsBudget = tbsBudgetService.getById(id); |
|||
return R.ok(tbsBudget); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "预算", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:budget:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsBudgetBo param){ |
|||
TbsBudget entity = CopierUtil.copy(param,new TbsBudget()); |
|||
boolean result = tbsBudgetService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "预算", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:budget:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsBudget param){ |
|||
TbsBudget entity = CopierUtil.copy(param,new TbsBudget()); |
|||
boolean result = tbsBudgetService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "预算", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:budget:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsBudgetService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsCostApplyVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsCostApplyBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsCostApply; |
|||
import com.qs.serve.modules.tbs.service.TbsCostApplyService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 费用申请 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/costApply") |
|||
public class TbsCostApplyController { |
|||
|
|||
private TbsCostApplyService tbsCostApplyService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:costApply:query')") |
|||
public R<List<TbsCostApply>> getPage(TbsCostApplyVo param){ |
|||
TbsCostApply entity = CopierUtil.copy(param,new TbsCostApply()); |
|||
LambdaQueryWrapper<TbsCostApply> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsCostApply> list = tbsCostApplyService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:costApply:query')") |
|||
public R<PageVo<TbsCostApply>> getPage(TbsCostApply param){ |
|||
TbsCostApply entity = CopierUtil.copy(param,new TbsCostApply()); |
|||
LambdaQueryWrapper<TbsCostApply> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsCostApply> list = tbsCostApplyService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "费用申请", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:costApply:query')") |
|||
public R<TbsCostApply> getById(@PathVariable("id") String id){ |
|||
TbsCostApply tbsCostApply = tbsCostApplyService.getById(id); |
|||
return R.ok(tbsCostApply); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "费用申请", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:costApply:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsCostApplyBo param){ |
|||
TbsCostApply entity = CopierUtil.copy(param,new TbsCostApply()); |
|||
boolean result = tbsCostApplyService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "费用申请", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:costApply:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsCostApply param){ |
|||
TbsCostApply entity = CopierUtil.copy(param,new TbsCostApply()); |
|||
boolean result = tbsCostApplyService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "费用申请", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:costApply:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsCostApplyService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsScheduleVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsScheduleBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsSchedule; |
|||
import com.qs.serve.modules.tbs.service.TbsScheduleService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 考核期 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/schedule") |
|||
public class TbsScheduleController { |
|||
|
|||
private TbsScheduleService tbsScheduleService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:schedule:query')") |
|||
public R<List<TbsSchedule>> getPage(TbsScheduleVo param){ |
|||
TbsSchedule entity = CopierUtil.copy(param,new TbsSchedule()); |
|||
LambdaQueryWrapper<TbsSchedule> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsSchedule> list = tbsScheduleService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:schedule:query')") |
|||
public R<PageVo<TbsSchedule>> getPage(TbsSchedule param){ |
|||
TbsSchedule entity = CopierUtil.copy(param,new TbsSchedule()); |
|||
LambdaQueryWrapper<TbsSchedule> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsSchedule> list = tbsScheduleService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "考核期", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:schedule:query')") |
|||
public R<TbsSchedule> getById(@PathVariable("id") String id){ |
|||
TbsSchedule tbsSchedule = tbsScheduleService.getById(id); |
|||
return R.ok(tbsSchedule); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "考核期", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:schedule:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsScheduleBo param){ |
|||
TbsSchedule entity = CopierUtil.copy(param,new TbsSchedule()); |
|||
boolean result = tbsScheduleService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "考核期", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:schedule:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsSchedule param){ |
|||
TbsSchedule entity = CopierUtil.copy(param,new TbsSchedule()); |
|||
boolean result = tbsScheduleService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "考核期", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:schedule:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsScheduleService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsScheduleItemBudgetVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsScheduleItemBudgetBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsScheduleItemBudget; |
|||
import com.qs.serve.modules.tbs.service.TbsScheduleItemBudgetService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 预算考核期项 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/scheduleItemBudget") |
|||
public class TbsScheduleItemBudgetController { |
|||
|
|||
private TbsScheduleItemBudgetService tbsScheduleItemBudgetService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:scheduleItemBudget:query')") |
|||
public R<List<TbsScheduleItemBudget>> getPage(TbsScheduleItemBudgetVo param){ |
|||
TbsScheduleItemBudget entity = CopierUtil.copy(param,new TbsScheduleItemBudget()); |
|||
LambdaQueryWrapper<TbsScheduleItemBudget> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsScheduleItemBudget> list = tbsScheduleItemBudgetService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:scheduleItemBudget:query')") |
|||
public R<PageVo<TbsScheduleItemBudget>> getPage(TbsScheduleItemBudget param){ |
|||
TbsScheduleItemBudget entity = CopierUtil.copy(param,new TbsScheduleItemBudget()); |
|||
LambdaQueryWrapper<TbsScheduleItemBudget> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsScheduleItemBudget> list = tbsScheduleItemBudgetService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "预算考核期项", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:scheduleItemBudget:query')") |
|||
public R<TbsScheduleItemBudget> getById(@PathVariable("id") String id){ |
|||
TbsScheduleItemBudget tbsScheduleItemBudget = tbsScheduleItemBudgetService.getById(id); |
|||
return R.ok(tbsScheduleItemBudget); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "预算考核期项", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:scheduleItemBudget:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsScheduleItemBudgetBo param){ |
|||
TbsScheduleItemBudget entity = CopierUtil.copy(param,new TbsScheduleItemBudget()); |
|||
boolean result = tbsScheduleItemBudgetService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "预算考核期项", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:scheduleItemBudget:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsScheduleItemBudget param){ |
|||
TbsScheduleItemBudget entity = CopierUtil.copy(param,new TbsScheduleItemBudget()); |
|||
boolean result = tbsScheduleItemBudgetService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "预算考核期项", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:scheduleItemBudget:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsScheduleItemBudgetService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,124 @@ |
|||
package com.qs.serve.modules.tbs.controller; |
|||
|
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.qs.serve.common.model.annotation.SysLog; |
|||
import com.qs.serve.common.model.dto.PageVo; |
|||
import com.qs.serve.common.model.dto.R; |
|||
import com.qs.serve.common.model.enums.BizType; |
|||
import com.qs.serve.common.model.enums.SystemModule; |
|||
import com.qs.serve.common.util.PageUtil; |
|||
import com.qs.serve.common.util.CopierUtil; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.security.access.prepost.PreAuthorize; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import com.qs.serve.modules.tbs.entity.vo.TbsScheduleItemVo; |
|||
import com.qs.serve.modules.tbs.entity.bo.TbsScheduleItemBo; |
|||
import com.qs.serve.modules.tbs.entity.TbsScheduleItem; |
|||
import com.qs.serve.modules.tbs.service.TbsScheduleItemService; |
|||
|
|||
import javax.validation.Valid; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 预算 考核时间项 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@AllArgsConstructor |
|||
@RestController |
|||
@RequestMapping("tbs/scheduleItem") |
|||
public class TbsScheduleItemController { |
|||
|
|||
private TbsScheduleItemService tbsScheduleItemService; |
|||
|
|||
/** |
|||
* 列表 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/list") |
|||
@PreAuthorize("hasRole('tbs:scheduleItem:query')") |
|||
public R<List<TbsScheduleItem>> getPage(TbsScheduleItemVo param){ |
|||
TbsScheduleItem entity = CopierUtil.copy(param,new TbsScheduleItem()); |
|||
LambdaQueryWrapper<TbsScheduleItem> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsScheduleItem> list = tbsScheduleItemService.list(lqw); |
|||
return R.ok(list); |
|||
} |
|||
|
|||
/** |
|||
* 翻页 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@GetMapping("/page") |
|||
@PreAuthorize("hasRole('tbs:scheduleItem:query')") |
|||
public R<PageVo<TbsScheduleItem>> getPage(TbsScheduleItem param){ |
|||
TbsScheduleItem entity = CopierUtil.copy(param,new TbsScheduleItem()); |
|||
LambdaQueryWrapper<TbsScheduleItem> lqw = new LambdaQueryWrapper<>(entity); |
|||
PageUtil.startPage(); |
|||
List<TbsScheduleItem> list = tbsScheduleItemService.list(lqw); |
|||
return R.byPageHelperList(list); |
|||
} |
|||
|
|||
/** |
|||
* ID查询 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@GetMapping("/getById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "考核时间项", biz = BizType.QUERY) |
|||
@PreAuthorize("hasRole('tbs:scheduleItem:query')") |
|||
public R<TbsScheduleItem> getById(@PathVariable("id") String id){ |
|||
TbsScheduleItem tbsScheduleItem = tbsScheduleItemService.getById(id); |
|||
return R.ok(tbsScheduleItem); |
|||
} |
|||
|
|||
|
|||
|
|||
/** |
|||
* 更新 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/updateById") |
|||
@SysLog(module = SystemModule.Budget, title = "考核时间项", biz = BizType.UPDATE) |
|||
@PreAuthorize("hasRole('tbs:scheduleItem:update')") |
|||
public R<?> updateById(@RequestBody @Valid TbsScheduleItemBo param){ |
|||
TbsScheduleItem entity = CopierUtil.copy(param,new TbsScheduleItem()); |
|||
boolean result = tbsScheduleItemService.updateById(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 新增 |
|||
* @param param |
|||
* @return |
|||
*/ |
|||
@PostMapping("/save") |
|||
@SysLog(module = SystemModule.Budget, title = "考核时间项", biz = BizType.INSERT) |
|||
@PreAuthorize("hasRole('tbs:scheduleItem:insert')") |
|||
public R<?> save(@RequestBody @Valid TbsScheduleItem param){ |
|||
TbsScheduleItem entity = CopierUtil.copy(param,new TbsScheduleItem()); |
|||
boolean result = tbsScheduleItemService.save(entity); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
/** |
|||
* 删除 |
|||
* @param id |
|||
* @return |
|||
*/ |
|||
@DeleteMapping("/deleteById/{id}") |
|||
@SysLog(module = SystemModule.Budget, title = "考核时间项", biz = BizType.DELETE) |
|||
@PreAuthorize("hasRole('tbs:scheduleItem:delete')") |
|||
public R<?> deleteById(@PathVariable("id") Long id){ |
|||
boolean result = tbsScheduleItemService.removeById(id); |
|||
return R.isTrue(result); |
|||
} |
|||
|
|||
} |
|||
|
@ -0,0 +1,108 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 费用活动 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_activity") |
|||
public class TbsActivity implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动简述及目的 */ |
|||
@NotBlank(message = "活动简述及目的不能为空") |
|||
@Length(max = 255,message = "活动简述及目的长度不能超过255字") |
|||
private String actTitle; |
|||
|
|||
/** 客户id */ |
|||
@NotNull(message = "客户id不能为空") |
|||
private Long supplierId; |
|||
|
|||
/** 客户编码 */ |
|||
@NotBlank(message = "客户编码不能为空") |
|||
@Length(max = 30,message = "客户编码长度不能超过30字") |
|||
private String supplierCode; |
|||
|
|||
/** 客户名称 */ |
|||
@NotBlank(message = "客户名称不能为空") |
|||
@Length(max = 30,message = "客户名称长度不能超过30字") |
|||
private String supplierName; |
|||
|
|||
/** 活动开始时间 */ |
|||
@NotNull(message = "活动开始时间不能为空") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
|||
private LocalDate actStartDate; |
|||
|
|||
/** 活动结束时间 */ |
|||
@NotNull(message = "活动结束时间不能为空") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
|||
private LocalDate actEndDate; |
|||
|
|||
/** 预计核销时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
|||
private LocalDate preCheckDate; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,121 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动成本中心项 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_activity_center") |
|||
public class TbsActivityCenter implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
/** 科目id */ |
|||
@NotNull(message = "科目id不能为空") |
|||
private Long subjectId; |
|||
|
|||
/** 科目编码 */ |
|||
@NotBlank(message = "科目编码不能为空") |
|||
@Length(max = 50,message = "科目编码长度不能超过50字") |
|||
private String subjectCode; |
|||
|
|||
/** 科目名称 */ |
|||
@NotBlank(message = "科目名称不能为空") |
|||
@Length(max = 50,message = "科目名称长度不能超过50字") |
|||
private String subjectName; |
|||
|
|||
/** 费用额度 */ |
|||
@NotNull(message = "费用额度不能为空") |
|||
private BigDecimal amount; |
|||
|
|||
/** 成本中心类型 */ |
|||
@NotBlank(message = "成本中心类型不能为空") |
|||
@Length(max = 255,message = "成本中心类型长度不能超过255字") |
|||
private String centerType; |
|||
|
|||
/** 成本中心id */ |
|||
@NotNull(message = "成本中心id不能为空") |
|||
private Long centerId; |
|||
|
|||
/** 成本中心编码 */ |
|||
@NotBlank(message = "成本中心编码不能为空") |
|||
@Length(max = 50,message = "成本中心编码长度不能超过50字") |
|||
private String centerCode; |
|||
|
|||
/** 成本中心名称 */ |
|||
@NotBlank(message = "成本中心名称不能为空") |
|||
@Length(max = 50,message = "成本中心名称长度不能超过50字") |
|||
private String centerName; |
|||
|
|||
/** 场次 */ |
|||
@NotNull(message = "场次不能为空") |
|||
private Integer countSession; |
|||
|
|||
/** 人数 */ |
|||
@NotNull(message = "人数不能为空") |
|||
private Integer countPerson; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,152 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动成本中心配比项 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_activity_center_goods") |
|||
public class TbsActivityCenterGoods implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
/** 科目id */ |
|||
@NotNull(message = "科目id不能为空") |
|||
private Long subjectId; |
|||
|
|||
/** 科目编码 */ |
|||
@NotBlank(message = "科目编码不能为空") |
|||
@Length(max = 50,message = "科目编码长度不能超过50字") |
|||
private String subjectCode; |
|||
|
|||
/** 科目名称 */ |
|||
@NotBlank(message = "科目名称不能为空") |
|||
@Length(max = 50,message = "科目名称长度不能超过50字") |
|||
private String subjectName; |
|||
|
|||
/** 费用额度 */ |
|||
@NotNull(message = "费用额度不能为空") |
|||
private BigDecimal amount; |
|||
|
|||
/** 成本中心类型 */ |
|||
@NotBlank(message = "成本中心类型不能为空") |
|||
@Length(max = 50,message = "成本中心类型长度不能超过50字") |
|||
private String centerType; |
|||
|
|||
/** 成本中心id */ |
|||
@NotNull(message = "成本中心id不能为空") |
|||
private Long centerId; |
|||
|
|||
/** 成本中心编码 */ |
|||
@NotBlank(message = "成本中心编码不能为空") |
|||
@Length(max = 50,message = "成本中心编码长度不能超过50字") |
|||
private String centerCode; |
|||
|
|||
/** 成本中心名称 */ |
|||
@NotBlank(message = "成本中心名称不能为空") |
|||
@Length(max = 50,message = "成本中心名称长度不能超过50字") |
|||
private String centerName; |
|||
|
|||
/** 费用占比 */ |
|||
@NotNull(message = "费用占比不能为空") |
|||
private BigDecimal centerGoodsRate; |
|||
|
|||
/** 目标类型(brand、category、series、spu、sku) */ |
|||
@NotBlank(message = "目标类型(brand、category、series、spu、sku)不能为空") |
|||
@Length(max = 30,message = "目标类型(brand、category、series、spu、sku)长度不能超过30字") |
|||
private String targetType; |
|||
|
|||
/** 目标id */ |
|||
@NotNull(message = "目标id不能为空") |
|||
private Long targetId; |
|||
|
|||
/** 目标编码 */ |
|||
@NotBlank(message = "目标编码不能为空") |
|||
@Length(max = 30,message = "目标编码长度不能超过30字") |
|||
private String targetCode; |
|||
|
|||
/** 目标名称 */ |
|||
@NotBlank(message = "目标名称不能为空") |
|||
@Length(max = 30,message = "目标名称长度不能超过30字") |
|||
private String targetName; |
|||
|
|||
/** 目标父级id */ |
|||
private Long targetParentId; |
|||
|
|||
/** 目标父级编码 */ |
|||
@Length(max = 30,message = "目标父级编码长度不能超过30字") |
|||
private String targetParentCode; |
|||
|
|||
/** 目标父级名称 */ |
|||
@Length(max = 20,message = "目标父级名称长度不能超过20字") |
|||
private String targetParentName; |
|||
|
|||
/** 目标等级路径 */ |
|||
@Length(max = 600,message = "目标等级路径长度不能超过600字") |
|||
private String targetLevelPath; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,99 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动渠道项 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_activity_channel") |
|||
public class TbsActivityChannel implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
/** 渠道id */ |
|||
@NotNull(message = "渠道id不能为空") |
|||
private Long channelId; |
|||
|
|||
/** 渠道编码 */ |
|||
@NotBlank(message = "渠道编码不能为空") |
|||
@Length(max = 50,message = "渠道编码长度不能超过50字") |
|||
private String channelCode; |
|||
|
|||
/** 渠道名称 */ |
|||
@NotBlank(message = "渠道名称不能为空") |
|||
@Length(max = 50,message = "渠道名称长度不能超过50字") |
|||
private String channelName; |
|||
|
|||
/** 渠道费用占比 */ |
|||
@NotNull(message = "渠道费用占比不能为空") |
|||
private BigDecimal channelRate; |
|||
|
|||
/** 预计头发网点数量 */ |
|||
@NotNull(message = "预计头发网点数量不能为空") |
|||
private Integer preCountPoint; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,109 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动网点项 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_activity_channel_point") |
|||
public class TbsActivityChannelPoint implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
/** 渠道id */ |
|||
@NotNull(message = "渠道id不能为空") |
|||
private Long channelId; |
|||
|
|||
/** 渠道编码 */ |
|||
@NotBlank(message = "渠道编码不能为空") |
|||
@Length(max = 50,message = "渠道编码长度不能超过50字") |
|||
private String channelCode; |
|||
|
|||
/** 渠道名称 */ |
|||
@NotBlank(message = "渠道名称不能为空") |
|||
@Length(max = 50,message = "渠道名称长度不能超过50字") |
|||
private String channelName; |
|||
|
|||
/** 网点id */ |
|||
@NotNull(message = "网点id不能为空") |
|||
private Long pointId; |
|||
|
|||
/** 网点编码 */ |
|||
@NotBlank(message = "网点编码不能为空") |
|||
@Length(max = 50,message = "网点编码长度不能超过50字") |
|||
private String pointCode; |
|||
|
|||
/** 网点名称 */ |
|||
@NotBlank(message = "网点名称不能为空") |
|||
@Length(max = 50,message = "网点名称长度不能超过50字") |
|||
private String pointName; |
|||
|
|||
/** 网点费用占比 */ |
|||
@NotNull(message = "网点费用占比不能为空") |
|||
private BigDecimal pointRate; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,115 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动商品项 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_activity_goods") |
|||
public class TbsActivityGoods implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
/** 网点费用占比 */ |
|||
@NotNull(message = "网点费用占比不能为空") |
|||
private BigDecimal goodsRate; |
|||
|
|||
/** 目标类型(brand、category、series、spu、sku) */ |
|||
@NotBlank(message = "目标类型(brand、category、series、spu、sku)不能为空") |
|||
@Length(max = 30,message = "目标类型(brand、category、series、spu、sku)长度不能超过30字") |
|||
private String targetType; |
|||
|
|||
/** 目标id */ |
|||
@NotNull(message = "目标id不能为空") |
|||
private Long targetId; |
|||
|
|||
/** 目标编码 */ |
|||
@NotBlank(message = "目标编码不能为空") |
|||
@Length(max = 30,message = "目标编码长度不能超过30字") |
|||
private String targetCode; |
|||
|
|||
/** 目标名称 */ |
|||
@NotBlank(message = "目标名称不能为空") |
|||
@Length(max = 30,message = "目标名称长度不能超过30字") |
|||
private String targetName; |
|||
|
|||
/** 目标父级id */ |
|||
private Long targetParentId; |
|||
|
|||
/** 目标父级编码 */ |
|||
@Length(max = 30,message = "目标父级编码长度不能超过30字") |
|||
private String targetParentCode; |
|||
|
|||
/** 目标父级名称 */ |
|||
@Length(max = 20,message = "目标父级名称长度不能超过20字") |
|||
private String targetParentName; |
|||
|
|||
/** 目标等级路径 */ |
|||
@Length(max = 600,message = "目标等级路径长度不能超过600字") |
|||
private String targetLevelPath; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,111 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 预算 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_budget") |
|||
public class TbsBudget implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 科目id */ |
|||
@NotNull(message = "科目id不能为空") |
|||
private Long subjectId; |
|||
|
|||
/** 科目编码 */ |
|||
@NotBlank(message = "科目编码不能为空") |
|||
@Length(max = 30,message = "科目编码长度不能超过30字") |
|||
private String subjectCode; |
|||
|
|||
/** 科目名称 */ |
|||
@NotBlank(message = "科目名称不能为空") |
|||
@Length(max = 30,message = "科目名称长度不能超过30字") |
|||
private String subjectName; |
|||
|
|||
/** 成本中心id */ |
|||
@NotNull(message = "成本中心id不能为空") |
|||
private Long centerId; |
|||
|
|||
/** 成本中心编码 */ |
|||
@NotBlank(message = "成本中心编码不能为空") |
|||
@Length(max = 30,message = "成本中心编码长度不能超过30字") |
|||
private String centerCode; |
|||
|
|||
/** 成本中心名称 */ |
|||
@NotBlank(message = "成本中心名称不能为空") |
|||
@Length(max = 30,message = "成本中心名称长度不能超过30字") |
|||
private String centerName; |
|||
|
|||
/** 考核期id */ |
|||
@NotNull(message = "考核期id不能为空") |
|||
private Long scheduleId; |
|||
|
|||
/** 考核期编码 */ |
|||
@NotBlank(message = "考核期编码不能为空") |
|||
@Length(max = 30,message = "考核期编码长度不能超过30字") |
|||
private String scheduleCode; |
|||
|
|||
/** 考核期名称 */ |
|||
@NotBlank(message = "考核期名称不能为空") |
|||
@Length(max = 30,message = "考核期名称长度不能超过30字") |
|||
private String scheduleName; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,107 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 预算条件 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_budget_condition") |
|||
public class TbsBudgetCondition implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 预算id */ |
|||
@NotNull(message = "预算id不能为空") |
|||
private Long budgtId; |
|||
|
|||
/** 目标类型(brand、category、series、spu、sku) */ |
|||
@NotBlank(message = "目标类型(brand、category、series、spu、sku)不能为空") |
|||
@Length(max = 30,message = "目标类型(brand、category、series、spu、sku)长度不能超过30字") |
|||
private String targetType; |
|||
|
|||
/** 目标id */ |
|||
@NotNull(message = "目标id不能为空") |
|||
private Long targetId; |
|||
|
|||
/** 目标编码 */ |
|||
@NotBlank(message = "目标编码不能为空") |
|||
@Length(max = 30,message = "目标编码长度不能超过30字") |
|||
private String targetCode; |
|||
|
|||
/** 目标名称 */ |
|||
@NotBlank(message = "目标名称不能为空") |
|||
@Length(max = 30,message = "目标名称长度不能超过30字") |
|||
private String targetName; |
|||
|
|||
/** 目标父级id */ |
|||
private Long targetParentId; |
|||
|
|||
/** 目标父级编码 */ |
|||
@Length(max = 30,message = "目标父级编码长度不能超过30字") |
|||
private String targetParentCode; |
|||
|
|||
/** 目标父级名称 */ |
|||
@Length(max = 20,message = "目标父级名称长度不能超过20字") |
|||
private String targetParentName; |
|||
|
|||
/** 目标等级路径 */ |
|||
@Length(max = 600,message = "目标等级路径长度不能超过600字") |
|||
private String targetLevelPath; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,92 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 费用申请 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_cost_apply") |
|||
public class TbsCostApply implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 主题 */ |
|||
@NotBlank(message = "主题不能为空") |
|||
@Length(max = 60,message = "主题长度不能超过60字") |
|||
private String chargeTheme; |
|||
|
|||
/** 客户id */ |
|||
@NotNull(message = "客户id不能为空") |
|||
private Long supplierId; |
|||
|
|||
/** 客户编码 */ |
|||
@NotBlank(message = "客户编码不能为空") |
|||
@Length(max = 30,message = "客户编码长度不能超过30字") |
|||
private String supplierCode; |
|||
|
|||
/** 客户名称 */ |
|||
@NotBlank(message = "客户名称不能为空") |
|||
@Length(max = 30,message = "客户名称长度不能超过30字") |
|||
private String supplierName; |
|||
|
|||
/** 状态:0=未发布;1=待执行;2=待核销;完成; */ |
|||
@NotNull(message = "状态:0=未发布;1=待执行;2=待核销;完成;不能为空") |
|||
private Integer chargeState; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,79 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 考核期 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_schedule") |
|||
public class TbsSchedule implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 考核名称 */ |
|||
@NotBlank(message = "考核名称不能为空") |
|||
@Length(max = 30,message = "考核名称长度不能超过30字") |
|||
private String code; |
|||
|
|||
/** 考核编码 */ |
|||
@NotBlank(message = "考核编码不能为空") |
|||
@Length(max = 30,message = "考核编码长度不能超过30字") |
|||
private String name; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,92 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 考核时间项 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_schedule_item") |
|||
public class TbsScheduleItem implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 考核id */ |
|||
@NotNull(message = "考核id不能为空") |
|||
private Long scheduleId; |
|||
|
|||
/** 考核编码 */ |
|||
@NotBlank(message = "考核编码不能为空") |
|||
@Length(max = 30,message = "考核编码长度不能超过30字") |
|||
private String itemName; |
|||
|
|||
/** 开始时间 */ |
|||
@NotNull(message = "开始时间不能为空") |
|||
@Length(max = 0,message = "开始时间长度不能超过0字") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime startDate; |
|||
|
|||
/** 结束时间 */ |
|||
@NotNull(message = "结束时间不能为空") |
|||
@Length(max = 0,message = "结束时间长度不能超过0字") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime endDate; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,100 @@ |
|||
package com.qs.serve.modules.tbs.entity; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 预算考核期项 实体类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
@TableName("tbs_schedule_item_budget") |
|||
public class TbsScheduleItemBudget implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
@TableId(type = IdType.AUTO) |
|||
private Long id; |
|||
|
|||
/** 考核id */ |
|||
@NotNull(message = "考核id不能为空") |
|||
private Long scheduleId; |
|||
|
|||
/** 考核编码 */ |
|||
@NotBlank(message = "考核编码不能为空") |
|||
@Length(max = 30,message = "考核编码长度不能超过30字") |
|||
private String itemName; |
|||
|
|||
/** 开始时间 */ |
|||
@NotNull(message = "开始时间不能为空") |
|||
@Length(max = 0,message = "开始时间长度不能超过0字") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime startDate; |
|||
|
|||
/** 结束时间 */ |
|||
@NotNull(message = "结束时间不能为空") |
|||
@Length(max = 0,message = "结束时间长度不能超过0字") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime endDate; |
|||
|
|||
/** 预算id */ |
|||
@NotNull(message = "预算id不能为空") |
|||
private Long budgetId; |
|||
|
|||
/** 预算金额 */ |
|||
@NotNull(message = "预算金额不能为空") |
|||
private BigDecimal budgetAmount; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
@TableField(fill = FieldFill.UPDATE) |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,84 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 费用活动 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
private Long costApplyId; |
|||
|
|||
/** 活动简述及目的 */ |
|||
private String actTitle; |
|||
|
|||
/** 客户id */ |
|||
private Long supplierId; |
|||
|
|||
/** 客户编码 */ |
|||
private String supplierCode; |
|||
|
|||
/** 客户名称 */ |
|||
private String supplierName; |
|||
|
|||
/** 活动开始时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
|||
private LocalDate actStartDate; |
|||
|
|||
/** 活动结束时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
|||
private LocalDate actEndDate; |
|||
|
|||
/** 预计核销时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
|||
private LocalDate preCheckDate; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,93 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动成本中心项 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityCenterBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
private Long activityId; |
|||
|
|||
/** 科目id */ |
|||
private Long subjectId; |
|||
|
|||
/** 科目编码 */ |
|||
private String subjectCode; |
|||
|
|||
/** 科目名称 */ |
|||
private String subjectName; |
|||
|
|||
/** 费用额度 */ |
|||
private BigDecimal amount; |
|||
|
|||
/** 成本中心类型 */ |
|||
private String centerType; |
|||
|
|||
/** 成本中心id */ |
|||
private Long centerId; |
|||
|
|||
/** 成本中心编码 */ |
|||
private String centerCode; |
|||
|
|||
/** 成本中心名称 */ |
|||
private String centerName; |
|||
|
|||
/** 场次 */ |
|||
private Integer countSession; |
|||
|
|||
/** 人数 */ |
|||
private Integer countPerson; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,114 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动成本中心配比项 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityCenterGoodsBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
private Long activityId; |
|||
|
|||
/** 科目id */ |
|||
private Long subjectId; |
|||
|
|||
/** 科目编码 */ |
|||
private String subjectCode; |
|||
|
|||
/** 科目名称 */ |
|||
private String subjectName; |
|||
|
|||
/** 费用额度 */ |
|||
private BigDecimal amount; |
|||
|
|||
/** 成本中心类型 */ |
|||
private String centerType; |
|||
|
|||
/** 成本中心id */ |
|||
private Long centerId; |
|||
|
|||
/** 成本中心编码 */ |
|||
private String centerCode; |
|||
|
|||
/** 成本中心名称 */ |
|||
private String centerName; |
|||
|
|||
/** 费用占比 */ |
|||
private BigDecimal centerGoodsRate; |
|||
|
|||
/** 目标类型(brand、category、series、spu、sku) */ |
|||
private String targetType; |
|||
|
|||
/** 目标id */ |
|||
private Long targetId; |
|||
|
|||
/** 目标编码 */ |
|||
private String targetCode; |
|||
|
|||
/** 目标名称 */ |
|||
private String targetName; |
|||
|
|||
/** 目标父级id */ |
|||
private Long targetParentId; |
|||
|
|||
/** 目标父级编码 */ |
|||
private String targetParentCode; |
|||
|
|||
/** 目标父级名称 */ |
|||
private String targetParentName; |
|||
|
|||
/** 目标等级路径 */ |
|||
private String targetLevelPath; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,78 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动渠道项 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityChannelBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
private Long activityId; |
|||
|
|||
/** 渠道id */ |
|||
private Long channelId; |
|||
|
|||
/** 渠道编码 */ |
|||
private String channelCode; |
|||
|
|||
/** 渠道名称 */ |
|||
private String channelName; |
|||
|
|||
/** 渠道费用占比 */ |
|||
private BigDecimal channelRate; |
|||
|
|||
/** 预计头发网点数量 */ |
|||
private Integer preCountPoint; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,84 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动网点项 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityChannelPointBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
private Long activityId; |
|||
|
|||
/** 渠道id */ |
|||
private Long channelId; |
|||
|
|||
/** 渠道编码 */ |
|||
private String channelCode; |
|||
|
|||
/** 渠道名称 */ |
|||
private String channelName; |
|||
|
|||
/** 网点id */ |
|||
private Long pointId; |
|||
|
|||
/** 网点编码 */ |
|||
private String pointCode; |
|||
|
|||
/** 网点名称 */ |
|||
private String pointName; |
|||
|
|||
/** 网点费用占比 */ |
|||
private BigDecimal pointRate; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,90 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动商品项 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityGoodsBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
private Long activityId; |
|||
|
|||
/** 网点费用占比 */ |
|||
private BigDecimal goodsRate; |
|||
|
|||
/** 目标类型(brand、category、series、spu、sku) */ |
|||
private String targetType; |
|||
|
|||
/** 目标id */ |
|||
private Long targetId; |
|||
|
|||
/** 目标编码 */ |
|||
private String targetCode; |
|||
|
|||
/** 目标名称 */ |
|||
private String targetName; |
|||
|
|||
/** 目标父级id */ |
|||
private Long targetParentId; |
|||
|
|||
/** 目标父级编码 */ |
|||
private String targetParentCode; |
|||
|
|||
/** 目标父级名称 */ |
|||
private String targetParentName; |
|||
|
|||
/** 目标等级路径 */ |
|||
private String targetLevelPath; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,83 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 预算 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsBudgetBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 科目id */ |
|||
private Long subjectId; |
|||
|
|||
/** 科目编码 */ |
|||
private String subjectCode; |
|||
|
|||
/** 科目名称 */ |
|||
private String subjectName; |
|||
|
|||
/** 成本中心id */ |
|||
private Long centerId; |
|||
|
|||
/** 成本中心编码 */ |
|||
private String centerCode; |
|||
|
|||
/** 成本中心名称 */ |
|||
private String centerName; |
|||
|
|||
/** 考核期id */ |
|||
private Long scheduleId; |
|||
|
|||
/** 考核期编码 */ |
|||
private String scheduleCode; |
|||
|
|||
/** 考核期名称 */ |
|||
private String scheduleName; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,83 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 预算条件 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsBudgetConditionBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 预算id */ |
|||
private Long budgtId; |
|||
|
|||
/** 目标类型(brand、category、series、spu、sku) */ |
|||
private String targetType; |
|||
|
|||
/** 目标id */ |
|||
private Long targetId; |
|||
|
|||
/** 目标编码 */ |
|||
private String targetCode; |
|||
|
|||
/** 目标名称 */ |
|||
private String targetName; |
|||
|
|||
/** 目标父级id */ |
|||
private Long targetParentId; |
|||
|
|||
/** 目标父级编码 */ |
|||
private String targetParentCode; |
|||
|
|||
/** 目标父级名称 */ |
|||
private String targetParentName; |
|||
|
|||
/** 目标等级路径 */ |
|||
private String targetLevelPath; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,71 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 费用申请 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsCostApplyBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 主题 */ |
|||
private String chargeTheme; |
|||
|
|||
/** 客户id */ |
|||
private Long supplierId; |
|||
|
|||
/** 客户编码 */ |
|||
private String supplierCode; |
|||
|
|||
/** 客户名称 */ |
|||
private String supplierName; |
|||
|
|||
/** 状态:0=未发布;1=待执行;2=待核销;完成; */ |
|||
private Integer chargeState; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,62 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 考核期 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsScheduleBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 考核名称 */ |
|||
private String code; |
|||
|
|||
/** 考核编码 */ |
|||
private String name; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,70 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 考核时间项 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsScheduleItemBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 考核id */ |
|||
private Long scheduleId; |
|||
|
|||
/** 考核编码 */ |
|||
private String itemName; |
|||
|
|||
/** 开始时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime startDate; |
|||
|
|||
/** 结束时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime endDate; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,77 @@ |
|||
package com.qs.serve.modules.tbs.entity.bo; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 预算考核期项 BO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsScheduleItemBudgetBo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 考核id */ |
|||
private Long scheduleId; |
|||
|
|||
/** 考核编码 */ |
|||
private String itemName; |
|||
|
|||
/** 开始时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime startDate; |
|||
|
|||
/** 结束时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime endDate; |
|||
|
|||
/** 预算id */ |
|||
private Long budgetId; |
|||
|
|||
/** 预算金额 */ |
|||
private BigDecimal budgetAmount; |
|||
|
|||
/** 备注 */ |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,143 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动成本中心配比项 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityCenterGoodsVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
/** 科目id */ |
|||
@NotNull(message = "科目id不能为空") |
|||
private Long subjectId; |
|||
|
|||
/** 科目编码 */ |
|||
@NotBlank(message = "科目编码不能为空") |
|||
@Length(max = 50,message = "科目编码长度不能超过50字") |
|||
private String subjectCode; |
|||
|
|||
/** 科目名称 */ |
|||
@NotBlank(message = "科目名称不能为空") |
|||
@Length(max = 50,message = "科目名称长度不能超过50字") |
|||
private String subjectName; |
|||
|
|||
/** 费用额度 */ |
|||
@NotNull(message = "费用额度不能为空") |
|||
private BigDecimal amount; |
|||
|
|||
/** 成本中心类型 */ |
|||
@NotBlank(message = "成本中心类型不能为空") |
|||
@Length(max = 50,message = "成本中心类型长度不能超过50字") |
|||
private String centerType; |
|||
|
|||
/** 成本中心id */ |
|||
@NotNull(message = "成本中心id不能为空") |
|||
private Long centerId; |
|||
|
|||
/** 成本中心编码 */ |
|||
@NotBlank(message = "成本中心编码不能为空") |
|||
@Length(max = 50,message = "成本中心编码长度不能超过50字") |
|||
private String centerCode; |
|||
|
|||
/** 成本中心名称 */ |
|||
@NotBlank(message = "成本中心名称不能为空") |
|||
@Length(max = 50,message = "成本中心名称长度不能超过50字") |
|||
private String centerName; |
|||
|
|||
/** 费用占比 */ |
|||
@NotNull(message = "费用占比不能为空") |
|||
private BigDecimal centerGoodsRate; |
|||
|
|||
/** 目标类型(brand、category、series、spu、sku) */ |
|||
@NotBlank(message = "目标类型(brand、category、series、spu、sku)不能为空") |
|||
@Length(max = 30,message = "目标类型(brand、category、series、spu、sku)长度不能超过30字") |
|||
private String targetType; |
|||
|
|||
/** 目标id */ |
|||
@NotNull(message = "目标id不能为空") |
|||
private Long targetId; |
|||
|
|||
/** 目标编码 */ |
|||
@NotBlank(message = "目标编码不能为空") |
|||
@Length(max = 30,message = "目标编码长度不能超过30字") |
|||
private String targetCode; |
|||
|
|||
/** 目标名称 */ |
|||
@NotBlank(message = "目标名称不能为空") |
|||
@Length(max = 30,message = "目标名称长度不能超过30字") |
|||
private String targetName; |
|||
|
|||
/** 目标父级id */ |
|||
private Long targetParentId; |
|||
|
|||
/** 目标父级编码 */ |
|||
@Length(max = 30,message = "目标父级编码长度不能超过30字") |
|||
private String targetParentCode; |
|||
|
|||
/** 目标父级名称 */ |
|||
@Length(max = 20,message = "目标父级名称长度不能超过20字") |
|||
private String targetParentName; |
|||
|
|||
/** 目标等级路径 */ |
|||
@Length(max = 600,message = "目标等级路径长度不能超过600字") |
|||
private String targetLevelPath; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,112 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动成本中心项 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityCenterVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
/** 科目id */ |
|||
@NotNull(message = "科目id不能为空") |
|||
private Long subjectId; |
|||
|
|||
/** 科目编码 */ |
|||
@NotBlank(message = "科目编码不能为空") |
|||
@Length(max = 50,message = "科目编码长度不能超过50字") |
|||
private String subjectCode; |
|||
|
|||
/** 科目名称 */ |
|||
@NotBlank(message = "科目名称不能为空") |
|||
@Length(max = 50,message = "科目名称长度不能超过50字") |
|||
private String subjectName; |
|||
|
|||
/** 费用额度 */ |
|||
@NotNull(message = "费用额度不能为空") |
|||
private BigDecimal amount; |
|||
|
|||
/** 成本中心类型 */ |
|||
@NotBlank(message = "成本中心类型不能为空") |
|||
@Length(max = 255,message = "成本中心类型长度不能超过255字") |
|||
private String centerType; |
|||
|
|||
/** 成本中心id */ |
|||
@NotNull(message = "成本中心id不能为空") |
|||
private Long centerId; |
|||
|
|||
/** 成本中心编码 */ |
|||
@NotBlank(message = "成本中心编码不能为空") |
|||
@Length(max = 50,message = "成本中心编码长度不能超过50字") |
|||
private String centerCode; |
|||
|
|||
/** 成本中心名称 */ |
|||
@NotBlank(message = "成本中心名称不能为空") |
|||
@Length(max = 50,message = "成本中心名称长度不能超过50字") |
|||
private String centerName; |
|||
|
|||
/** 场次 */ |
|||
@NotNull(message = "场次不能为空") |
|||
private Integer countSession; |
|||
|
|||
/** 人数 */ |
|||
@NotNull(message = "人数不能为空") |
|||
private Integer countPerson; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,100 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动网点项 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityChannelPointVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
/** 渠道id */ |
|||
@NotNull(message = "渠道id不能为空") |
|||
private Long channelId; |
|||
|
|||
/** 渠道编码 */ |
|||
@NotBlank(message = "渠道编码不能为空") |
|||
@Length(max = 50,message = "渠道编码长度不能超过50字") |
|||
private String channelCode; |
|||
|
|||
/** 渠道名称 */ |
|||
@NotBlank(message = "渠道名称不能为空") |
|||
@Length(max = 50,message = "渠道名称长度不能超过50字") |
|||
private String channelName; |
|||
|
|||
/** 网点id */ |
|||
@NotNull(message = "网点id不能为空") |
|||
private Long pointId; |
|||
|
|||
/** 网点编码 */ |
|||
@NotBlank(message = "网点编码不能为空") |
|||
@Length(max = 50,message = "网点编码长度不能超过50字") |
|||
private String pointCode; |
|||
|
|||
/** 网点名称 */ |
|||
@NotBlank(message = "网点名称不能为空") |
|||
@Length(max = 50,message = "网点名称长度不能超过50字") |
|||
private String pointName; |
|||
|
|||
/** 网点费用占比 */ |
|||
@NotNull(message = "网点费用占比不能为空") |
|||
private BigDecimal pointRate; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,90 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动渠道项 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityChannelVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
/** 渠道id */ |
|||
@NotNull(message = "渠道id不能为空") |
|||
private Long channelId; |
|||
|
|||
/** 渠道编码 */ |
|||
@NotBlank(message = "渠道编码不能为空") |
|||
@Length(max = 50,message = "渠道编码长度不能超过50字") |
|||
private String channelCode; |
|||
|
|||
/** 渠道名称 */ |
|||
@NotBlank(message = "渠道名称不能为空") |
|||
@Length(max = 50,message = "渠道名称长度不能超过50字") |
|||
private String channelName; |
|||
|
|||
/** 渠道费用占比 */ |
|||
@NotNull(message = "渠道费用占比不能为空") |
|||
private BigDecimal channelRate; |
|||
|
|||
/** 预计头发网点数量 */ |
|||
@NotNull(message = "预计头发网点数量不能为空") |
|||
private Integer preCountPoint; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,106 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 活动商品项 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityGoodsVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动id */ |
|||
@NotNull(message = "活动id不能为空") |
|||
private Long activityId; |
|||
|
|||
/** 网点费用占比 */ |
|||
@NotNull(message = "网点费用占比不能为空") |
|||
private BigDecimal goodsRate; |
|||
|
|||
/** 目标类型(brand、category、series、spu、sku) */ |
|||
@NotBlank(message = "目标类型(brand、category、series、spu、sku)不能为空") |
|||
@Length(max = 30,message = "目标类型(brand、category、series、spu、sku)长度不能超过30字") |
|||
private String targetType; |
|||
|
|||
/** 目标id */ |
|||
@NotNull(message = "目标id不能为空") |
|||
private Long targetId; |
|||
|
|||
/** 目标编码 */ |
|||
@NotBlank(message = "目标编码不能为空") |
|||
@Length(max = 30,message = "目标编码长度不能超过30字") |
|||
private String targetCode; |
|||
|
|||
/** 目标名称 */ |
|||
@NotBlank(message = "目标名称不能为空") |
|||
@Length(max = 30,message = "目标名称长度不能超过30字") |
|||
private String targetName; |
|||
|
|||
/** 目标父级id */ |
|||
private Long targetParentId; |
|||
|
|||
/** 目标父级编码 */ |
|||
@Length(max = 30,message = "目标父级编码长度不能超过30字") |
|||
private String targetParentCode; |
|||
|
|||
/** 目标父级名称 */ |
|||
@Length(max = 20,message = "目标父级名称长度不能超过20字") |
|||
private String targetParentName; |
|||
|
|||
/** 目标等级路径 */ |
|||
@Length(max = 600,message = "目标等级路径长度不能超过600字") |
|||
private String targetLevelPath; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,96 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.time.LocalDateTime; |
|||
import java.io.Serializable; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 费用活动 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsActivityVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 费用申请id */ |
|||
@NotNull(message = "费用申请id不能为空") |
|||
private Long costApplyId; |
|||
|
|||
/** 活动简述及目的 */ |
|||
@NotBlank(message = "活动简述及目的不能为空") |
|||
@Length(max = 255,message = "活动简述及目的长度不能超过255字") |
|||
private String actTitle; |
|||
|
|||
/** 客户id */ |
|||
@NotNull(message = "客户id不能为空") |
|||
private Long supplierId; |
|||
|
|||
/** 客户编码 */ |
|||
@NotBlank(message = "客户编码不能为空") |
|||
@Length(max = 30,message = "客户编码长度不能超过30字") |
|||
private String supplierCode; |
|||
|
|||
/** 客户名称 */ |
|||
@NotBlank(message = "客户名称不能为空") |
|||
@Length(max = 30,message = "客户名称长度不能超过30字") |
|||
private String supplierName; |
|||
|
|||
/** 活动开始时间 */ |
|||
@NotNull(message = "活动开始时间不能为空") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
private LocalDate actStartDate; |
|||
|
|||
/** 活动结束时间 */ |
|||
@NotNull(message = "活动结束时间不能为空") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
private LocalDate actEndDate; |
|||
|
|||
/** 预计核销时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd") |
|||
private LocalDate preCheckDate; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,98 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 预算条件 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsBudgetConditionVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 预算id */ |
|||
@NotNull(message = "预算id不能为空") |
|||
private Long budgtId; |
|||
|
|||
/** 目标类型(brand、category、series、spu、sku) */ |
|||
@NotBlank(message = "目标类型(brand、category、series、spu、sku)不能为空") |
|||
@Length(max = 30,message = "目标类型(brand、category、series、spu、sku)长度不能超过30字") |
|||
private String targetType; |
|||
|
|||
/** 目标id */ |
|||
@NotNull(message = "目标id不能为空") |
|||
private Long targetId; |
|||
|
|||
/** 目标编码 */ |
|||
@NotBlank(message = "目标编码不能为空") |
|||
@Length(max = 30,message = "目标编码长度不能超过30字") |
|||
private String targetCode; |
|||
|
|||
/** 目标名称 */ |
|||
@NotBlank(message = "目标名称不能为空") |
|||
@Length(max = 30,message = "目标名称长度不能超过30字") |
|||
private String targetName; |
|||
|
|||
/** 目标父级id */ |
|||
private Long targetParentId; |
|||
|
|||
/** 目标父级编码 */ |
|||
@Length(max = 30,message = "目标父级编码长度不能超过30字") |
|||
private String targetParentCode; |
|||
|
|||
/** 目标父级名称 */ |
|||
@Length(max = 20,message = "目标父级名称长度不能超过20字") |
|||
private String targetParentName; |
|||
|
|||
/** 目标等级路径 */ |
|||
@Length(max = 600,message = "目标等级路径长度不能超过600字") |
|||
private String targetLevelPath; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,102 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 预算 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsBudgetVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 科目id */ |
|||
@NotNull(message = "科目id不能为空") |
|||
private Long subjectId; |
|||
|
|||
/** 科目编码 */ |
|||
@NotBlank(message = "科目编码不能为空") |
|||
@Length(max = 30,message = "科目编码长度不能超过30字") |
|||
private String subjectCode; |
|||
|
|||
/** 科目名称 */ |
|||
@NotBlank(message = "科目名称不能为空") |
|||
@Length(max = 30,message = "科目名称长度不能超过30字") |
|||
private String subjectName; |
|||
|
|||
/** 成本中心id */ |
|||
@NotNull(message = "成本中心id不能为空") |
|||
private Long centerId; |
|||
|
|||
/** 成本中心编码 */ |
|||
@NotBlank(message = "成本中心编码不能为空") |
|||
@Length(max = 30,message = "成本中心编码长度不能超过30字") |
|||
private String centerCode; |
|||
|
|||
/** 成本中心名称 */ |
|||
@NotBlank(message = "成本中心名称不能为空") |
|||
@Length(max = 30,message = "成本中心名称长度不能超过30字") |
|||
private String centerName; |
|||
|
|||
/** 考核期id */ |
|||
@NotNull(message = "考核期id不能为空") |
|||
private Long scheduleId; |
|||
|
|||
/** 考核期编码 */ |
|||
@NotBlank(message = "考核期编码不能为空") |
|||
@Length(max = 30,message = "考核期编码长度不能超过30字") |
|||
private String scheduleCode; |
|||
|
|||
/** 考核期名称 */ |
|||
@NotBlank(message = "考核期名称不能为空") |
|||
@Length(max = 30,message = "考核期名称长度不能超过30字") |
|||
private String scheduleName; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,83 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 费用申请 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsCostApplyVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 主题 */ |
|||
@NotBlank(message = "主题不能为空") |
|||
@Length(max = 60,message = "主题长度不能超过60字") |
|||
private String chargeTheme; |
|||
|
|||
/** 客户id */ |
|||
@NotNull(message = "客户id不能为空") |
|||
private Long supplierId; |
|||
|
|||
/** 客户编码 */ |
|||
@NotBlank(message = "客户编码不能为空") |
|||
@Length(max = 30,message = "客户编码长度不能超过30字") |
|||
private String supplierCode; |
|||
|
|||
/** 客户名称 */ |
|||
@NotBlank(message = "客户名称不能为空") |
|||
@Length(max = 30,message = "客户名称长度不能超过30字") |
|||
private String supplierName; |
|||
|
|||
/** 状态:0=未发布;1=待执行;2=待核销;完成; */ |
|||
@NotNull(message = "状态:0=未发布;1=待执行;2=待核销;完成;不能为空") |
|||
private Integer chargeState; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,89 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 预算考核期项 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsScheduleItemBudgetVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 考核id */ |
|||
@NotNull(message = "考核id不能为空") |
|||
private Long scheduleId; |
|||
|
|||
/** 考核编码 */ |
|||
@NotBlank(message = "考核编码不能为空") |
|||
@Length(max = 30,message = "考核编码长度不能超过30字") |
|||
private String itemName; |
|||
|
|||
/** 开始时间 */ |
|||
@NotNull(message = "开始时间不能为空") |
|||
@Length(max = 0,message = "开始时间长度不能超过0字") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime startDate; |
|||
|
|||
/** 结束时间 */ |
|||
@NotNull(message = "结束时间不能为空") |
|||
@Length(max = 0,message = "结束时间长度不能超过0字") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime endDate; |
|||
|
|||
/** 预算id */ |
|||
@NotNull(message = "预算id不能为空") |
|||
private Long budgetId; |
|||
|
|||
/** 预算金额 */ |
|||
@NotNull(message = "预算金额不能为空") |
|||
private BigDecimal budgetAmount; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,81 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 考核时间项 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsScheduleItemVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 考核id */ |
|||
@NotNull(message = "考核id不能为空") |
|||
private Long scheduleId; |
|||
|
|||
/** 考核编码 */ |
|||
@NotBlank(message = "考核编码不能为空") |
|||
@Length(max = 30,message = "考核编码长度不能超过30字") |
|||
private String itemName; |
|||
|
|||
/** 开始时间 */ |
|||
@NotNull(message = "开始时间不能为空") |
|||
@Length(max = 0,message = "开始时间长度不能超过0字") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime startDate; |
|||
|
|||
/** 结束时间 */ |
|||
@NotNull(message = "结束时间不能为空") |
|||
@Length(max = 0,message = "结束时间长度不能超过0字") |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime endDate; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,70 @@ |
|||
package com.qs.serve.modules.tbs.entity.vo; |
|||
|
|||
import java.time.LocalDate; |
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
import java.time.LocalDateTime; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import com.fasterxml.jackson.annotation.JsonProperty; |
|||
import lombok.Data; |
|||
import org.hibernate.validator.constraints.Length; |
|||
import org.springframework.format.annotation.DateTimeFormat; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import javax.validation.constraints.NotBlank; |
|||
|
|||
/** |
|||
* 考核期 VO |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Data |
|||
public class TbsScheduleVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** id */ |
|||
private Long id; |
|||
|
|||
/** 考核名称 */ |
|||
@NotBlank(message = "考核名称不能为空") |
|||
@Length(max = 30,message = "考核名称长度不能超过30字") |
|||
private String code; |
|||
|
|||
/** 考核编码 */ |
|||
@NotBlank(message = "考核编码不能为空") |
|||
@Length(max = 30,message = "考核编码长度不能超过30字") |
|||
private String name; |
|||
|
|||
/** 备注 */ |
|||
@Length(max = 255,message = "备注长度不能超过255字") |
|||
private String remark; |
|||
|
|||
/** 创建时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime createTime; |
|||
|
|||
/** 最后更新时间 */ |
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
|||
private LocalDateTime updateTime; |
|||
|
|||
/** 所属租户 */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String tenantId; |
|||
|
|||
/** 创建人 */ |
|||
private String createBy; |
|||
|
|||
/** 更新人 */ |
|||
private String updateBy; |
|||
|
|||
/** 逻辑删除标记(0:显示;1:隐藏) */ |
|||
@JsonIgnore |
|||
@JsonProperty |
|||
private String delFlag; |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityCenterGoods; |
|||
|
|||
/** |
|||
* 活动成本中心配比项 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityCenterGoodsMapper extends BaseMapper<TbsActivityCenterGoods> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityCenter; |
|||
|
|||
/** |
|||
* 活动成本中心项 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityCenterMapper extends BaseMapper<TbsActivityCenter> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityChannel; |
|||
|
|||
/** |
|||
* 活动渠道项 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityChannelMapper extends BaseMapper<TbsActivityChannel> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityChannelPoint; |
|||
|
|||
/** |
|||
* 活动网点项 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityChannelPointMapper extends BaseMapper<TbsActivityChannelPoint> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityGoods; |
|||
|
|||
/** |
|||
* 活动商品项 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityGoodsMapper extends BaseMapper<TbsActivityGoods> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivity; |
|||
|
|||
/** |
|||
* 费用活动 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityMapper extends BaseMapper<TbsActivity> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsBudgetCondition; |
|||
|
|||
/** |
|||
* 预算条件 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsBudgetConditionMapper extends BaseMapper<TbsBudgetCondition> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsBudget; |
|||
|
|||
/** |
|||
* 预算 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsBudgetMapper extends BaseMapper<TbsBudget> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsCostApply; |
|||
|
|||
/** |
|||
* 费用申请 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsCostApplyMapper extends BaseMapper<TbsCostApply> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsScheduleItemBudget; |
|||
|
|||
/** |
|||
* 预算考核期项 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsScheduleItemBudgetMapper extends BaseMapper<TbsScheduleItemBudget> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsScheduleItem; |
|||
|
|||
/** |
|||
* 考核时间项 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsScheduleItemMapper extends BaseMapper<TbsScheduleItem> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsSchedule; |
|||
|
|||
/** |
|||
* 考核期 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsScheduleMapper extends BaseMapper<TbsSchedule> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityCenterGoods; |
|||
|
|||
/** |
|||
* 活动成本中心配比项 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityCenterGoodsService extends IService<TbsActivityCenterGoods> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityCenter; |
|||
|
|||
/** |
|||
* 活动成本中心项 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityCenterService extends IService<TbsActivityCenter> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityChannelPoint; |
|||
|
|||
/** |
|||
* 活动网点项 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityChannelPointService extends IService<TbsActivityChannelPoint> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityChannel; |
|||
|
|||
/** |
|||
* 活动渠道项 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityChannelService extends IService<TbsActivityChannel> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityGoods; |
|||
|
|||
/** |
|||
* 活动商品项 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityGoodsService extends IService<TbsActivityGoods> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivity; |
|||
|
|||
/** |
|||
* 费用活动 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsActivityService extends IService<TbsActivity> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.qs.serve.modules.tbs.entity.TbsBudgetCondition; |
|||
|
|||
/** |
|||
* 预算条件 Mapper |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsBudgetConditionMapper extends BaseMapper<TbsBudgetCondition> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsBudgetCondition; |
|||
|
|||
/** |
|||
* 预算条件 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsBudgetConditionService extends IService<TbsBudgetCondition> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsBudget; |
|||
|
|||
/** |
|||
* 预算 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsBudgetService extends IService<TbsBudget> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsCostApply; |
|||
|
|||
/** |
|||
* 费用申请 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsCostApplyService extends IService<TbsCostApply> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsScheduleItemBudget; |
|||
|
|||
/** |
|||
* 预算考核期项 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsScheduleItemBudgetService extends IService<TbsScheduleItemBudget> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsScheduleItem; |
|||
|
|||
/** |
|||
* 考核时间项 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsScheduleItemService extends IService<TbsScheduleItem> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,14 @@ |
|||
package com.qs.serve.modules.tbs.service; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import com.qs.serve.modules.tbs.entity.TbsSchedule; |
|||
|
|||
/** |
|||
* 考核期 服务接口 |
|||
* @author YenHex |
|||
* @date 2022-11-08 |
|||
*/ |
|||
public interface TbsScheduleService extends IService<TbsSchedule> { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityCenterGoods; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityCenterGoodsService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsActivityCenterGoodsMapper; |
|||
|
|||
/** |
|||
* 活动成本中心配比项 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsActivityCenterGoodsServiceImpl extends ServiceImpl<TbsActivityCenterGoodsMapper,TbsActivityCenterGoods> implements TbsActivityCenterGoodsService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityCenter; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityCenterService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsActivityCenterMapper; |
|||
|
|||
/** |
|||
* 活动成本中心项 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsActivityCenterServiceImpl extends ServiceImpl<TbsActivityCenterMapper,TbsActivityCenter> implements TbsActivityCenterService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityChannelPoint; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityChannelPointService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsActivityChannelPointMapper; |
|||
|
|||
/** |
|||
* 活动网点项 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsActivityChannelPointServiceImpl extends ServiceImpl<TbsActivityChannelPointMapper,TbsActivityChannelPoint> implements TbsActivityChannelPointService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityChannel; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityChannelService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsActivityChannelMapper; |
|||
|
|||
/** |
|||
* 活动渠道项 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsActivityChannelServiceImpl extends ServiceImpl<TbsActivityChannelMapper,TbsActivityChannel> implements TbsActivityChannelService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivityGoods; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityGoodsService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsActivityGoodsMapper; |
|||
|
|||
/** |
|||
* 活动商品项 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsActivityGoodsServiceImpl extends ServiceImpl<TbsActivityGoodsMapper,TbsActivityGoods> implements TbsActivityGoodsService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsActivity; |
|||
import com.qs.serve.modules.tbs.service.TbsActivityService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsActivityMapper; |
|||
|
|||
/** |
|||
* 费用活动 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsActivityServiceImpl extends ServiceImpl<TbsActivityMapper,TbsActivity> implements TbsActivityService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsBudgetCondition; |
|||
import com.qs.serve.modules.tbs.service.TbsBudgetConditionService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsBudgetConditionMapper; |
|||
|
|||
/** |
|||
* 预算条件 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsBudgetConditionServiceImpl extends ServiceImpl<TbsBudgetConditionMapper,TbsBudgetCondition> implements TbsBudgetConditionService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsBudget; |
|||
import com.qs.serve.modules.tbs.service.TbsBudgetService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsBudgetMapper; |
|||
|
|||
/** |
|||
* 预算 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsBudgetServiceImpl extends ServiceImpl<TbsBudgetMapper,TbsBudget> implements TbsBudgetService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsCostApply; |
|||
import com.qs.serve.modules.tbs.service.TbsCostApplyService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsCostApplyMapper; |
|||
|
|||
/** |
|||
* 费用申请 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsCostApplyServiceImpl extends ServiceImpl<TbsCostApplyMapper,TbsCostApply> implements TbsCostApplyService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsScheduleItemBudget; |
|||
import com.qs.serve.modules.tbs.service.TbsScheduleItemBudgetService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsScheduleItemBudgetMapper; |
|||
|
|||
/** |
|||
* 预算考核期项 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsScheduleItemBudgetServiceImpl extends ServiceImpl<TbsScheduleItemBudgetMapper,TbsScheduleItemBudget> implements TbsScheduleItemBudgetService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsScheduleItem; |
|||
import com.qs.serve.modules.tbs.service.TbsScheduleItemService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsScheduleItemMapper; |
|||
|
|||
/** |
|||
* 考核时间项 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsScheduleItemServiceImpl extends ServiceImpl<TbsScheduleItemMapper,TbsScheduleItem> implements TbsScheduleItemService { |
|||
|
|||
} |
|||
|
@ -0,0 +1,22 @@ |
|||
package com.qs.serve.modules.tbs.service.impl; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import lombok.AllArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.qs.serve.modules.tbs.entity.TbsSchedule; |
|||
import com.qs.serve.modules.tbs.service.TbsScheduleService; |
|||
import com.qs.serve.modules.tbs.mapper.TbsScheduleMapper; |
|||
|
|||
/** |
|||
* 考核期 服务实现类 |
|||
* @author YenHex |
|||
* @since 2022-11-08 |
|||
*/ |
|||
@Slf4j |
|||
@Service |
|||
@AllArgsConstructor |
|||
public class TbsScheduleServiceImpl extends ServiceImpl<TbsScheduleMapper,TbsSchedule> implements TbsScheduleService { |
|||
|
|||
} |
|||
|
Loading…
Reference in new issue