Authored by csgyoho

后台时间是否为数字判断

... ... @@ -145,8 +145,8 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
}
private UnionShareOrderSearchBo initUnionShareOrderSearchBo(UnionShareOrderSearchReqBO reqBO){
UnionShareOrderSearchBo bo=new UnionShareOrderSearchBo();
bo.setBeginTime(StringUtils.isBlank(reqBO.getBeginTime()) ? 0 : Integer.parseInt(reqBO.getBeginTime()));
bo.setEndTime(StringUtils.isBlank(reqBO.getEndTime()) ? 0 : Integer.parseInt(reqBO.getEndTime()));
bo.setBeginTime(StringUtils.isNumeric(reqBO.getBeginTime()) ? Integer.parseInt(reqBO.getBeginTime()):0);
bo.setEndTime(StringUtils.isNumeric(reqBO.getEndTime()) ? Integer.parseInt(reqBO.getEndTime()):0);
bo.setOrderCode(StringUtils.isBlank(reqBO.getOrderCode()) ? null : reqBO.getOrderCode());
bo.setUnionType(StringUtils.isBlank(reqBO.getUnionId()) ? null :Long.valueOf( reqBO.getUnionId()));
bo.setUnionName(StringUtils.isBlank(reqBO.getUnionType()) ? null : reqBO.getUnionType());
... ...