修复添加预收费记录默认数据不完整
This commit is contained in:
parent
b4cfb9cb80
commit
8657a73b92
@ -16,6 +16,7 @@ import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@ -114,6 +115,8 @@ public class FtPrepaymentDaoController extends BaseController {
|
||||
@Log(title = "收费管理", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody FtPrepaymentVo ftPrepaymentDao) {
|
||||
ftPrepaymentDao.setCollectAt(new Date());
|
||||
ftPrepaymentDao.setSettlementFlag(0);
|
||||
return toAjax(iFtPrepaymentDaoService.save(ftPrepaymentDao) ? 1 : 0);
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,7 @@ public class FtPrepaymentVo implements Serializable {
|
||||
* 结算标志
|
||||
*/
|
||||
@Excel(name = "结算标志")
|
||||
private Long settlementFlag;
|
||||
private Integer settlementFlag;
|
||||
|
||||
/**
|
||||
* 预付费金额
|
||||
|
@ -202,6 +202,7 @@
|
||||
components: {},
|
||||
data() {
|
||||
return {
|
||||
userName: null,
|
||||
settlementFlagOptions: [{
|
||||
value: null,
|
||||
label: '未交费'
|
||||
@ -260,6 +261,7 @@
|
||||
},
|
||||
created() {
|
||||
this.getDefaultNoPrepayment();
|
||||
this.getUser();
|
||||
},
|
||||
mounted() {
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user