通用项目详情完善
This commit is contained in:
-1
@@ -63,7 +63,6 @@ public class PaySpendingContractInstallment implements Serializable {
|
||||
/**实收金额*/
|
||||
@Excel(name = "实收金额", width = 15)
|
||||
@ApiModelProperty(value = "实收金额")
|
||||
@NotNull(message = "实收金额不能为空")
|
||||
@DecimalMax(value = "9999999999.99",message = "应收金额格式错误")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private BigDecimal paidAmount;
|
||||
|
||||
+4
@@ -93,6 +93,7 @@ public class PaySpendingContractServiceImpl extends ServiceImpl<PaySpendingContr
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
public PaySpendingContract addPaySpendingContractInput(PaySpendingContractInput input) {
|
||||
if(Objects.isNull(input)){
|
||||
throw new JeroBootException("支出合同信息不能为空!");
|
||||
@@ -149,6 +150,7 @@ public class PaySpendingContractServiceImpl extends ServiceImpl<PaySpendingContr
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
public void editPayIncomeContractInput(PaySpendingContractInput input) {
|
||||
if(Objects.isNull(input)){
|
||||
throw new JeroBootException("支出合同信息不能为空!");
|
||||
@@ -221,6 +223,7 @@ public class PaySpendingContractServiceImpl extends ServiceImpl<PaySpendingContr
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
public void deletePaySpendingContractInputById(String id) {
|
||||
PaySpendingContract paySpendingContractStatus = paySpendingContractService.getById(id);
|
||||
if(Objects.isNull(paySpendingContractStatus)){
|
||||
@@ -233,6 +236,7 @@ public class PaySpendingContractServiceImpl extends ServiceImpl<PaySpendingContr
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
public void deleteSpendingContractInputByIds(List<String> ids) {
|
||||
LambdaQueryWrapper<PaySpendingContract> query = new LambdaQueryWrapper<>();
|
||||
query.in(PaySpendingContract::getId,ids);
|
||||
|
||||
Reference in New Issue
Block a user