localizer
ljw 2025-09-17 10:32:56 +08:00
parent 9182cf665b
commit 0751473c31
3 changed files with 74 additions and 0 deletions

View File

@ -26,6 +26,15 @@ public class BizCompanyController {
private final BizCompanyService bizCompanyService;
/**
*
*/
@PostMapping("/addStation")
public R<?> add(@RequestBody BizCompanyEntity entity) {
bizCompanyService.addStation(entity);
return R.success();
}
/**
*
*

View File

@ -50,6 +50,16 @@ public class BizCompanyService extends ServiceImpl<BizCompanyMapper, BizCompanyE
this.save(bizCompanyEntity);
}
/**
*
*
* @param bizCompanyEntity
*/
public void addStation(BizCompanyEntity bizCompanyEntity) {
bizCompanyEntity.setStation(true);
this.save(bizCompanyEntity);
}
@Transactional(rollbackFor = Exception.class)
public void add(AddBizCompanyParam addBizCompanyParam) {
AppProperties.DefaultPlace defaultPlace = appProperties.getDefaultPlace();

View File

@ -0,0 +1,55 @@
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;
/**
* 12
*/
private Integer moneyType;
}