默认值优化
This commit is contained in:
@@ -77,6 +77,9 @@ public class LinePayServiceImpl implements LinePayService {
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Long submitPayInfo(LinePaySubmitRequest request, PartnerUserInfoVO partnerUser) {
|
||||
log.info("submitPayInfo request:{},partnerUser:{}", JSONObject.toJSONString(request), JSONObject.toJSONString(partnerUser));
|
||||
if (Objects.isNull(request.getPayBusinessType())){
|
||||
request.setPayBusinessType(Constants.ZERO_INTEGER);
|
||||
}
|
||||
LineInfoDO lineInfo = new LineInfoDO();
|
||||
if (request.getLineId() != null) {
|
||||
lineInfo = lineInfoDAO.getLineInfo(request.getLineId());
|
||||
|
||||
Reference in New Issue
Block a user