springBootjunit Test

    xiaoxiao2025-07-29  5

    ~~~~~~ ~ ~ ~ ~ ~ @RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest(classes = {Application.class}) public class PayPaymentServiceImplTest { @Autowired private PayPaymentMapper payPaymentMapper; @Test public void selectByOrderNoAndObjectType() { String orderNo="265"; String ObjectType="ORDER"; PayPayment payPayment = new PayPayment(); payPayment.setObjId(orderNo); payPayment.setObjType(ObjectType); List<PayPayment> payPayments = payPaymentMapper.selectByParams(payPayment); System.out.println(payPayments); int i=1; } }
    转载请注明原文地址: https://ju.6miu.com/read-1301175.html
    最新回复(0)