| | |
| | | import com.xzx.gc.shop.mapper.JhyOrderItemsMapper; |
| | | import com.xzx.gc.shop.mapper.JhyOrderMapper; |
| | | import com.xzx.gc.shop.mapper.ScoreGoodsMapper; |
| | | import com.xzx.gc.shop.service.OrderService; |
| | | import com.xzx.gc.shop.vo.JhyOrderItemsVo; |
| | | import com.xzx.gc.shop.vo.QueryGoodsListVo; |
| | | import com.xzx.gc.shop.vo.QueryJhyOrderListVo; |
| | |
| | | @Slf4j |
| | | @RunWith(SpringRunner.class) |
| | | @SpringBootTest(classes = {GcShopApplication.class}) |
| | | @ActiveProfiles("dev") |
| | | @ActiveProfiles({"dev", "xc"}) |
| | | public class CodeTest { |
| | | |
| | | @Autowired |
| | |
| | | |
| | | } |
| | | |
| | | @Autowired |
| | | private OrderService orderService; |
| | | |
| | | @Test |
| | | public void autoConfirm() { |
| | | orderService.autoConfirmReceipt(); |
| | | } |
| | | |
| | | } |