package test.hospital.service;
import java.util.List;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import com.lyms.hospital.entity.leave.LeaveInfo;
import com.lyms.hospital.service.leave.LeaveInfoService;
import test.hospital.BaseServiceTest;
public class LeaveInfoServiceTest extends BaseServiceTest {
@Autowired
private LeaveInfoService service;
// @Test
// public void createLeaveInfo(){
// LeaveInfo leave = new LeaveInfo();
// leave.setWomanId("cs0330");
// leave.setAfterDaynum(5);
// service.createLeaveInfo(leave);
// }
// @Test
// public void update(){
// LeaveInfo leave = new LeaveInfo();
// leave.setId("A125273265034E968CCC12D353F32645");
// leave.setWomanId("cs6666");
// service.updateLeaveInfo(leave);
// }
@Test
public void list(){
List<LeaveInfo> list = service.listLeaveInfoByWomanId("cs6666");
System.out.println(list);
}
}