package one.kii;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Created by WangYanJiong on 05/05/2017.
 */

@Configuration
@EnableAutoConfiguration
@ComponentScan({
        "com.sinewang.kiimate.subject.core",
        "one.kii.kiimate.subject.core",
        "com.sinewang.kiimate.model.core",
        "one.kii.kiimate.model.core",
        "com.sinewang.kiimate.status.core",
        "one.kii.kiimate.status.core"})
@MapperScan({
        "com.sinewang.kiimate.model.core",
        "com.sinewang.kiimate.status.core"})
public class KiiMate {
    public static void main(String[] args) {
        SpringApplication.run(KiiMate.class, args);
    }
}

@@ -305,16 +305,105 @@
 ation;%0A%0A
+import static one.kii.KiiMate.IMPL_PACKAGE;%0Aimport static one.kii.KiiMate.SPEC_PACKAGE;%0A%0A
 /**%0A * C
@@ -514,374 +514,233 @@
     
-%22com.sinewang.kiimate.subject.core%22,%0A        %22one.kii.kiimate.subject.core%22,%0A        %22com.sinewang.kiimate.model.core%22,%0A        %22one.kii.kiimate.model.core%22,%0A        %22com.sinewang.kiimate.status.core%22,%0A        %22one.kii.kiimate.status.core%22%7D)%0A@MapperScan(%7B%0A        %22com.sinewang.kiimate.model.core%22,%0A        %22com.sinewang.kiimate.status.core%22%7D)%0Apublic class KiiMate %7B
+SPEC_PACKAGE,%0A        IMPL_PACKAGE%0A%7D)%0A@MapperScan(%7B%0A        IMPL_PACKAGE%0A%7D)%0Apublic class KiiMate %7B%0A%0A%0A    public final static String SPEC_PACKAGE = %22one.kiimate%22;%0A%0A    public final static String IMPL_PACKAGE = %22com.sinewang%22;%0A
 %0A   

improve component scan, mapper scan