Showing
1 changed file
with
2 additions
and
2 deletions
@@ -145,8 +145,8 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport | @@ -145,8 +145,8 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport | ||
145 | } | 145 | } |
146 | private UnionShareOrderSearchBo initUnionShareOrderSearchBo(UnionShareOrderSearchReqBO reqBO){ | 146 | private UnionShareOrderSearchBo initUnionShareOrderSearchBo(UnionShareOrderSearchReqBO reqBO){ |
147 | UnionShareOrderSearchBo bo=new UnionShareOrderSearchBo(); | 147 | UnionShareOrderSearchBo bo=new UnionShareOrderSearchBo(); |
148 | - bo.setBeginTime(StringUtils.isBlank(reqBO.getBeginTime()) ? 0 : Integer.parseInt(reqBO.getBeginTime())); | ||
149 | - bo.setEndTime(StringUtils.isBlank(reqBO.getEndTime()) ? 0 : Integer.parseInt(reqBO.getEndTime())); | 148 | + bo.setBeginTime(StringUtils.isNumeric(reqBO.getBeginTime()) ? Integer.parseInt(reqBO.getBeginTime()):0); |
149 | + bo.setEndTime(StringUtils.isNumeric(reqBO.getEndTime()) ? Integer.parseInt(reqBO.getEndTime()):0); | ||
150 | bo.setOrderCode(StringUtils.isBlank(reqBO.getOrderCode()) ? null : reqBO.getOrderCode()); | 150 | bo.setOrderCode(StringUtils.isBlank(reqBO.getOrderCode()) ? null : reqBO.getOrderCode()); |
151 | bo.setUnionType(StringUtils.isBlank(reqBO.getUnionId()) ? null :Long.valueOf( reqBO.getUnionId())); | 151 | bo.setUnionType(StringUtils.isBlank(reqBO.getUnionId()) ? null :Long.valueOf( reqBO.getUnionId())); |
152 | bo.setUnionName(StringUtils.isBlank(reqBO.getUnionType()) ? null : reqBO.getUnionType()); | 152 | bo.setUnionName(StringUtils.isBlank(reqBO.getUnionType()) ? null : reqBO.getUnionType()); |
-
Please register or login to post a comment