提交 fccc92e7 作者: 沈振路

init

上级 155cc0be
package com.yaoyaozw.customer.controller;
/**
* @author darker
* @date 2022/9/16 10:19
*/
public class InitController {
}
package com.yaoyaozw.customer.dto;
/**
* @author darker
* @date 2022/9/16 10:19
*/
public class InitDTO {
}
package com.yaoyaozw.customer.entity;
/**
* @author darker
* @date 2022/9/16 10:19
*/
public class InitEntity {
}
package com.yaoyaozw.customer.mapper;
import org.springframework.stereotype.Repository;
/**
* @author darker
* @date 2022/9/16 10:18
*/
@Repository
public interface InitMapper {
void init();
}
package com.yaoyaozw.customer.vo;
/**
* @author darker
* @date 2022/9/16 10:19
*/
public class InitVO {
}
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yaoyaozw.customer.mapper.InitMapper">
<insert id="init">
select * from user;
</insert>
</mapper>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论