| | |
| | | import com.yeshi.makemoney.app.exception.user.UserInfoException; |
| | | import com.yeshi.makemoney.app.service.inter.goldcorn.GoldCornGetRecordService; |
| | | import com.yeshi.makemoney.app.service.inter.goldcorn.GoldCornMakeService; |
| | | import com.yeshi.makemoney.app.service.inter.goldcorn.GoldCornSettleService; |
| | | import org.junit.jupiter.api.Test; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | |
| | |
| | | |
| | | @Resource |
| | | private GoldCornMakeService goldCornMakeService; |
| | | |
| | | @Resource |
| | | private GoldCornSettleService goldCornSettleService; |
| | | |
| | | @Test |
| | | public void addGoldRecord() throws GoldCornGetRecordException { |
| | |
| | | } |
| | | } |
| | | |
| | | @Test |
| | | public void settle(){ |
| | | goldCornSettleService.startSettle(new Date(System.currentTimeMillis()-1000*60*60*24L)); |
| | | } |
| | | |
| | | |
| | | } |