| | |
| | | if (now.after(end)&&detailsResponse.getUseStatus()==2) { |
| | | detailsResponse.setUseStatus(3); |
| | | } |
| | | // if (detailsResponse.getUseStatus()!=3){ |
| | | // if (detailsResponse.getUseStatus()==1 &&now.after(end)){ |
| | | // detailsResponse.setUseStatus(2); |
| | | // }else{ |
| | | // detailsResponse.setUseStatus(2); |
| | | // } |
| | | // } |
| | | |
| | | } else if (merchandise.getCardType() == 3) { |
| | | SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| | |
| | | if (now.after(end)&&detailsResponse.getUseStatus()==2) { |
| | | detailsResponse.setUseStatus(3); |
| | | } |
| | | // if (detailsResponse.getUseStatus()!=3){ |
| | | // if (detailsResponse.getUseStatus()==1 &&now.after(end)){ |
| | | // detailsResponse.setUseStatus(2); |
| | | // }else{ |
| | | // detailsResponse.setUseStatus(2); |
| | | // } |
| | | // } |
| | | |
| | | } else if (merchandise.getCardType() == 4) { |
| | | SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| | |
| | | if (now.after(end)&&detailsResponse.getUseStatus()==2) { |
| | | detailsResponse.setUseStatus(3); |
| | | } |
| | | // if (detailsResponse.getUseStatus()!=3){ |
| | | // if (detailsResponse.getUseStatus()==1 &&now.after(end)){ |
| | | // detailsResponse.setUseStatus(2); |
| | | // }else{ |
| | | // detailsResponse.setUseStatus(2); |
| | | // } |
| | | // } |
| | | |
| | | } |
| | | |