|
@@ -1020,13 +1020,13 @@ public class TpTicketServiceImpl extends ServiceImpl<TpTicketMapper, TpTicket> i
|
1020
|
1020
|
@Transactional
|
1021
|
1021
|
@Override
|
1022
|
1022
|
public ResponseBean updateTicketPrice(String parameter, Integer userId, Integer orgId) {
|
1023
|
|
- TpTicket ticket = JSONObject.parseObject(parameter, TpTicket.class);
|
|
1023
|
+ TpTicketVO ticket = JSONObject.parseObject(parameter, TpTicketVO.class);
|
1024
|
1024
|
TpTicket tpTicket = tpTicketMapper.selectById(ticket.getId());
|
1025
|
1025
|
|
1026
|
1026
|
// 新建缴费项
|
1027
|
1027
|
Bill bill = new Bill();
|
1028
|
1028
|
bill.setBillName(tpTicket.getTicketTitle());
|
1029
|
|
- bill.setBillExplain(tpTicket.getTicketContent());
|
|
1029
|
+ bill.setBillExplain(ticket.getPriceExplain());
|
1030
|
1030
|
bill.setEndDate(Date.from(LocalDateTime.now().plusMonths(1).atZone( ZoneId.systemDefault()).toInstant()));
|
1031
|
1031
|
bill.setPayPrice(ticket.getPrice().toString());
|
1032
|
1032
|
|