| | |
| | | import jakarta.validation.Valid; |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.http.MediaType; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.validation.BindingResult; |
| | |
| | | private final ClientCardSv clientCardSv; |
| | | private final RechargeCtrl rechargeCtrl; |
| | | |
| | | @Value("${projectCode.ym}") |
| | | private Integer projectCode; |
| | | |
| | | /** |
| | | * 获取开卡记录 |
| | | * @param vo |
| | | * @return |
| | | */ |
| | | @Operation(summary = "获得一页开卡记录", description = "返回一页开卡数据") |
| | | @ApiResponses(value = { |
| | | @ApiResponse( |
| | |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 开卡操作 |
| | | * @param po |
| | | * @param bindingResult |
| | | * @return |
| | | */ |
| | | @Operation(summary = "开卡", description = "新开农户卡") |
| | | @ApiResponses(value = { |
| | | @ApiResponse( |
| | |
| | | } |
| | | } |
| | | |
| | | return BaseResponseUtils.buildSuccess(cardNum) ; |
| | | Map map = new HashMap(); |
| | | map.put("projectCode", projectCode); |
| | | map.put("cardNum", cardNum); |
| | | return BaseResponseUtils.buildSuccess(map) ; |
| | | } |
| | | |
| | | @Operation(summary = "补卡", description = "补卡") |