Compare commits
No commits in common. "60cd881d730c5b3eafac78e505ba2babd6e34ec3" and "85f4358d0d60d32212c7a7706888fafe7ff7bbcf" have entirely different histories.
60cd881d73
...
85f4358d0d
|
|
@ -26,15 +26,6 @@ public class BizCompanyController {
|
||||||
|
|
||||||
private final BizCompanyService bizCompanyService;
|
private final BizCompanyService bizCompanyService;
|
||||||
|
|
||||||
/**
|
|
||||||
* 新增站点
|
|
||||||
*/
|
|
||||||
@PostMapping("/addStation")
|
|
||||||
public R<?> add(@RequestBody BizCompanyEntity entity) {
|
|
||||||
bizCompanyService.addStation(entity);
|
|
||||||
return R.success();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 修改
|
* 修改
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -50,16 +50,6 @@ public class BizCompanyService extends ServiceImpl<BizCompanyMapper, BizCompanyE
|
||||||
this.save(bizCompanyEntity);
|
this.save(bizCompanyEntity);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 新增
|
|
||||||
*
|
|
||||||
* @param bizCompanyEntity 数据
|
|
||||||
*/
|
|
||||||
public void addStation(BizCompanyEntity bizCompanyEntity) {
|
|
||||||
bizCompanyEntity.setStation(true);
|
|
||||||
this.save(bizCompanyEntity);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public void add(AddBizCompanyParam addBizCompanyParam) {
|
public void add(AddBizCompanyParam addBizCompanyParam) {
|
||||||
AppProperties.DefaultPlace defaultPlace = appProperties.getDefaultPlace();
|
AppProperties.DefaultPlace defaultPlace = appProperties.getDefaultPlace();
|
||||||
|
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
||||||
package com.njzscloud.supervisory.money.pojo.result;
|
|
||||||
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.ToString;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.time.LocalDateTime;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 资金账户查询结果
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@ToString
|
|
||||||
@Accessors(chain = true)
|
|
||||||
public class MoneyAccountResult {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Id
|
|
||||||
*/
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 归属用户 Id; 普通用户时不为空
|
|
||||||
*/
|
|
||||||
private Long userId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 归属站点 Id; 平台站点时不为空
|
|
||||||
*/
|
|
||||||
private Long stationId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 资金
|
|
||||||
*/
|
|
||||||
private BigDecimal money;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 修改时间
|
|
||||||
*/
|
|
||||||
private LocalDateTime modifyTime;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 名称(用户昵称或公司名称)
|
|
||||||
*/
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 资金类型:1为用户,2为平台
|
|
||||||
*/
|
|
||||||
private Integer moneyType;
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue