Open 1017727621 opened 7 years ago
` Unable to load generated mapper class com.xxx.xxx.bookingclass.javabeanMapper.CourseRuleJavaBeanMapperSelmaGeneratedClass failed : com.xxx.xxx.bookingclass.javabeanMapper.CourseRuleJavaBeanMapperSelmaGeneratedClass
private CourseRuleJavaBeanMapper toJavaBean() { return Selma.builder(CourseRuleJavaBeanMapper.class).build(); } if (courseRule == null) { courseRule = new CourseRule(); courseRule= toJavaBean().asCourseRule(courseRuleVO); courseRule.setCreateTime(new Date()); courseRuleMapper.insert(courseRule); }
@Service @Mapper(withCyclicMapping=true, withIgnoreMissing = IgnoreMissing.DESTINATION, withIoC=IoC.CDI_SINGLETON ) public interface CourseRuleJavaBeanMapper {
public CourseRule asCourseRule(CourseRuleVO courseRuleVO); public CourseRuleVO asCourseRuleVO(CourseRule courseRule);
}
`
` Unable to load generated mapper class com.xxx.xxx.bookingclass.javabeanMapper.CourseRuleJavaBeanMapperSelmaGeneratedClass failed : com.xxx.xxx.bookingclass.javabeanMapper.CourseRuleJavaBeanMapperSelmaGeneratedClass
private CourseRuleJavaBeanMapper toJavaBean() { return Selma.builder(CourseRuleJavaBeanMapper.class).build(); } if (courseRule == null) { courseRule = new CourseRule(); courseRule= toJavaBean().asCourseRule(courseRuleVO); courseRule.setCreateTime(new Date()); courseRuleMapper.insert(courseRule); }
@Service @Mapper(withCyclicMapping=true, withIgnoreMissing = IgnoreMissing.DESTINATION, withIoC=IoC.CDI_SINGLETON ) public interface CourseRuleJavaBeanMapper {
}
`