package com.bcxin.ars.dao;

import com.bcxin.ars.dao.task.ComTaskPerDao;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.transaction.TransactionConfiguration;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author linqinglin
 * @date 2020/06/12 0012 16:26
 */
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "classpath:/ars-dao.xml" })
@Transactional
@TransactionConfiguration(transactionManager = "txManager", defaultRollback = true)
public class ComTaskPerDaoTest {


    @Autowired
    private ComTaskPerDao comTaskPerDao;

    @Test
    public void updateDeletePerson(){
        Long[] personIds = {620611951910715392l,620611951923298304l,620611951931686912l};
        comTaskPerDao.updateDeletePerson(personIds);
    }


}
