Commit af26ac49 by Suvalue

添加科室、医生接口

parent 621dab43
package com.bsoft.api.controller;
import com.bsoft.api.common.Result;
import com.bsoft.api.common.annotations.Token;
import com.bsoft.api.model.SerDepartment;
import com.bsoft.api.service.SerDeptService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
@Api(tags = "科室 Api")
@RestController
public class DeptController {
@Autowired
private SerDeptService serDeptService;
/**
* 查询科室列表
*
* @return
*/
@PostMapping("/dept/list")
@Token
@ApiOperation("查询科室列表")
public Object getList() throws InterruptedException {
List<SerDepartment> list = serDeptService.getList();
return Result.success(list);
}
}
package com.bsoft.api.controller;
import com.bsoft.api.common.Result;
import com.bsoft.api.common.annotations.Token;
import com.bsoft.api.model.SerDoctor;
import com.bsoft.api.model.reqmodel.Doctor;
import com.bsoft.api.service.SerDoctorService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
@Api(tags = "医生Api")
@RestController
public class DoctorController {
@Autowired
private SerDoctorService serDoctorService;
/**
* 根据科室查询医生列表
*
* @return
*/
@PostMapping("/doctor/list")
@Token
@ApiOperation("根据科室查询医生列表")
public Object getList(@RequestBody Doctor doctor) throws InterruptedException {
List<SerDoctor> list = serDoctorService.getDoctor(doctor.getDept());
return Result.success(list);
}
}
package com.bsoft.api.mapper;
import com.bsoft.api.model.SerDepartment;
import java.math.BigDecimal;
import java.util.List;
public interface SerDepartmentMapper {
int deleteByPrimaryKey(BigDecimal id);
int insert(SerDepartment record);
SerDepartment selectByPrimaryKey(BigDecimal id);
List<SerDepartment> selectAll();
int updateByPrimaryKey(SerDepartment record);
}
\ No newline at end of file
package com.bsoft.api.mapper;
import com.bsoft.api.model.SerDeptDocRs;
import java.math.BigDecimal;
import java.util.List;
public interface SerDeptDocRsMapper {
int deleteByPrimaryKey(BigDecimal id);
int insert(SerDeptDocRs record);
SerDeptDocRs selectByPrimaryKey(BigDecimal id);
List<SerDeptDocRs> selectAll();
int updateByPrimaryKey(SerDeptDocRs record);
}
\ No newline at end of file
package com.bsoft.api.mapper;
import com.bsoft.api.model.SerDoctor;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;
import java.util.List;
public interface SerDoctorMapper {
int deleteByPrimaryKey(BigDecimal id);
int insert(SerDoctor record);
SerDoctor selectByPrimaryKey(BigDecimal id);
List<SerDoctor> selectAll();
List<SerDoctor> selectDoctor(@Param("dept") String dept);
int updateByPrimaryKey(SerDoctor record);
}
\ No newline at end of file
package com.bsoft.api.model;
import java.math.BigDecimal;
import java.util.Date;
public class SerDepartment {
private BigDecimal id;
private Date createDate;
private BigDecimal createUserid;
private BigDecimal state;
private String orgId;
private String ksbm;
private String ksmc;
public BigDecimal getId() {
return id;
}
public void setId(BigDecimal id) {
this.id = id;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public BigDecimal getCreateUserid() {
return createUserid;
}
public void setCreateUserid(BigDecimal createUserid) {
this.createUserid = createUserid;
}
public BigDecimal getState() {
return state;
}
public void setState(BigDecimal state) {
this.state = state;
}
public String getOrgId() {
return orgId;
}
public void setOrgId(String orgId) {
this.orgId = orgId;
}
public String getKsbm() {
return ksbm;
}
public void setKsbm(String ksbm) {
this.ksbm = ksbm;
}
public String getKsmc() {
return ksmc;
}
public void setKsmc(String ksmc) {
this.ksmc = ksmc;
}
}
\ No newline at end of file
package com.bsoft.api.model;
import java.math.BigDecimal;
import java.util.Date;
public class SerDeptDocRs {
private BigDecimal id;
private Date createDate;
private BigDecimal createUserid;
private BigDecimal state;
private String orgId;
private String ksbm;
private String ksmc;
private String ysbm;
private String ysmc;
private String yslx;
public BigDecimal getId() {
return id;
}
public void setId(BigDecimal id) {
this.id = id;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public BigDecimal getCreateUserid() {
return createUserid;
}
public void setCreateUserid(BigDecimal createUserid) {
this.createUserid = createUserid;
}
public BigDecimal getState() {
return state;
}
public void setState(BigDecimal state) {
this.state = state;
}
public String getOrgId() {
return orgId;
}
public void setOrgId(String orgId) {
this.orgId = orgId;
}
public String getKsbm() {
return ksbm;
}
public void setKsbm(String ksbm) {
this.ksbm = ksbm;
}
public String getKsmc() {
return ksmc;
}
public void setKsmc(String ksmc) {
this.ksmc = ksmc;
}
public String getYsbm() {
return ysbm;
}
public void setYsbm(String ysbm) {
this.ysbm = ysbm;
}
public String getYsmc() {
return ysmc;
}
public void setYsmc(String ysmc) {
this.ysmc = ysmc;
}
public String getYslx() {
return yslx;
}
public void setYslx(String yslx) {
this.yslx = yslx;
}
}
\ No newline at end of file
package com.bsoft.api.model;
import java.math.BigDecimal;
import java.util.Date;
public class SerDoctor {
private BigDecimal id;
private Date createDate;
private BigDecimal createUserid;
private BigDecimal state;
private String orgId;
private String ysbm;
private String ysmc;
private String yslx;
public BigDecimal getId() {
return id;
}
public void setId(BigDecimal id) {
this.id = id;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public BigDecimal getCreateUserid() {
return createUserid;
}
public void setCreateUserid(BigDecimal createUserid) {
this.createUserid = createUserid;
}
public BigDecimal getState() {
return state;
}
public void setState(BigDecimal state) {
this.state = state;
}
public String getOrgId() {
return orgId;
}
public void setOrgId(String orgId) {
this.orgId = orgId;
}
public String getYsbm() {
return ysbm;
}
public void setYsbm(String ysbm) {
this.ysbm = ysbm;
}
public String getYsmc() {
return ysmc;
}
public void setYsmc(String ysmc) {
this.ysmc = ysmc;
}
public String getYslx() {
return yslx;
}
public void setYslx(String yslx) {
this.yslx = yslx;
}
}
\ No newline at end of file
package com.bsoft.api.model.reqmodel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
public class Doctor {
@ApiModelProperty(value = "科室编码", required = false)
@NotBlank(message = "dept 参数必传")
private String dept;
public String getDept() {
return dept;
}
public void setDept(String dept) {
this.dept = dept;
}
}
package com.bsoft.api.service.Impl;
import com.bsoft.api.mapper.SerDepartmentMapper;
import com.bsoft.api.model.SerDepartment;
import com.bsoft.api.service.SerDeptService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service
public class SerDeptServiceImpl implements SerDeptService {
@Resource
private SerDepartmentMapper serDepartmentMapper;
@Override
public List<SerDepartment> getList() {
List<SerDepartment> list = serDepartmentMapper.selectAll();
return list;
}
}
package com.bsoft.api.service.Impl;
import com.bsoft.api.mapper.SerDoctorMapper;
import com.bsoft.api.model.SerDoctor;
import com.bsoft.api.service.SerDoctorService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service
public class SerDoctorServiceImpl implements SerDoctorService {
@Resource
private SerDoctorMapper serDoctorMapper;
@Override
public List<SerDoctor> getDoctor(String dept) {
List<SerDoctor> list = serDoctorMapper.selectDoctor(dept);
return list;
}
}
package com.bsoft.api.service;
import com.bsoft.api.model.SerDepartment;
import java.util.List;
public interface SerDeptService {
List<SerDepartment> getList();
}
package com.bsoft.api.service;
import com.bsoft.api.model.SerDoctor;
import java.util.List;
public interface SerDoctorService {
List<SerDoctor> getDoctor(String dept);
}
<?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.bsoft.api.mapper.SerDepartmentMapper">
<resultMap id="BaseResultMap" type="com.bsoft.api.model.SerDepartment">
<id column="ID" jdbcType="DECIMAL" property="id" />
<result column="CREATE_DATE" jdbcType="TIMESTAMP" property="createDate" />
<result column="CREATE_USERID" jdbcType="DECIMAL" property="createUserid" />
<result column="STATE" jdbcType="DECIMAL" property="state" />
<result column="ORG_ID" jdbcType="VARCHAR" property="orgId" />
<result column="KSBM" jdbcType="VARCHAR" property="ksbm" />
<result column="KSMC" jdbcType="VARCHAR" property="ksmc" />
</resultMap>
<delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
delete from SER_DEPARTMENT
where ID = #{id,jdbcType=DECIMAL}
</delete>
<insert id="insert" parameterType="com.bsoft.api.model.SerDepartment">
<selectKey keyProperty="id" order="AFTER" resultType="java.math.BigDecimal">
select SEQ_SER_DEPARTMENT_ID.nextval from dual
</selectKey>
insert into SER_DEPARTMENT (CREATE_DATE, CREATE_USERID, "STATE",
ORG_ID, KSBM, KSMC)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{orgId,jdbcType=VARCHAR}, #{ksbm,jdbcType=VARCHAR}, #{ksmc,jdbcType=VARCHAR})
</insert>
<update id="updateByPrimaryKey" parameterType="com.bsoft.api.model.SerDepartment">
update SER_DEPARTMENT
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
"STATE" = #{state,jdbcType=DECIMAL},
ORG_ID = #{orgId,jdbcType=VARCHAR},
KSBM = #{ksbm,jdbcType=VARCHAR},
KSMC = #{ksmc,jdbcType=VARCHAR}
where ID = #{id,jdbcType=DECIMAL}
</update>
<select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
select ID, CREATE_DATE, CREATE_USERID, "STATE", ORG_ID, KSBM, KSMC
from SER_DEPARTMENT
where ID = #{id,jdbcType=DECIMAL}
</select>
<select id="selectAll" resultMap="BaseResultMap">
select ID, CREATE_DATE, CREATE_USERID, "STATE", ORG_ID, KSBM, KSMC
from SER_DEPARTMENT
where "STATE" = 1
</select>
</mapper>
\ No newline at end of file
<?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.bsoft.api.mapper.SerDeptDocRsMapper">
<resultMap id="BaseResultMap" type="com.bsoft.api.model.SerDeptDocRs">
<id column="ID" jdbcType="DECIMAL" property="id" />
<result column="CREATE_DATE" jdbcType="TIMESTAMP" property="createDate" />
<result column="CREATE_USERID" jdbcType="DECIMAL" property="createUserid" />
<result column="STATE" jdbcType="DECIMAL" property="state" />
<result column="ORG_ID" jdbcType="VARCHAR" property="orgId" />
<result column="KSBM" jdbcType="VARCHAR" property="ksbm" />
<result column="KSMC" jdbcType="VARCHAR" property="ksmc" />
<result column="YSBM" jdbcType="VARCHAR" property="ysbm" />
<result column="YSMC" jdbcType="VARCHAR" property="ysmc" />
<result column="YSLX" jdbcType="VARCHAR" property="yslx" />
</resultMap>
<delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
delete from SER_DEPT_DOC_RS
where ID = #{id,jdbcType=DECIMAL}
</delete>
<insert id="insert" parameterType="com.bsoft.api.model.SerDeptDocRs">
<selectKey keyProperty="id" order="AFTER" resultType="java.math.BigDecimal">
select SEQ_SER_DEPT_DOC_RS_ID.nextval from dual
</selectKey>
insert into SER_DEPT_DOC_RS (CREATE_DATE, CREATE_USERID, "STATE",
ORG_ID, KSBM, KSMC,
YSBM, YSMC, YSLX)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{orgId,jdbcType=VARCHAR}, #{ksbm,jdbcType=VARCHAR}, #{ksmc,jdbcType=VARCHAR},
#{ysbm,jdbcType=VARCHAR}, #{ysmc,jdbcType=VARCHAR}, #{yslx,jdbcType=VARCHAR})
</insert>
<update id="updateByPrimaryKey" parameterType="com.bsoft.api.model.SerDeptDocRs">
update SER_DEPT_DOC_RS
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
"STATE" = #{state,jdbcType=DECIMAL},
ORG_ID = #{orgId,jdbcType=VARCHAR},
KSBM = #{ksbm,jdbcType=VARCHAR},
KSMC = #{ksmc,jdbcType=VARCHAR},
YSBM = #{ysbm,jdbcType=VARCHAR},
YSMC = #{ysmc,jdbcType=VARCHAR},
YSLX = #{yslx,jdbcType=VARCHAR}
where ID = #{id,jdbcType=DECIMAL}
</update>
<select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
select ID, CREATE_DATE, CREATE_USERID, "STATE", ORG_ID, KSBM, KSMC, YSBM, YSMC, YSLX
from SER_DEPT_DOC_RS
where ID = #{id,jdbcType=DECIMAL}
</select>
<select id="selectAll" resultMap="BaseResultMap">
select ID, CREATE_DATE, CREATE_USERID, "STATE", ORG_ID, KSBM, KSMC, YSBM, YSMC, YSLX
from SER_DEPT_DOC_RS
</select>
</mapper>
\ No newline at end of file
<?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.bsoft.api.mapper.SerDoctorMapper">
<resultMap id="BaseResultMap" type="com.bsoft.api.model.SerDoctor">
<id column="ID" jdbcType="DECIMAL" property="id" />
<result column="CREATE_DATE" jdbcType="TIMESTAMP" property="createDate" />
<result column="CREATE_USERID" jdbcType="DECIMAL" property="createUserid" />
<result column="STATE" jdbcType="DECIMAL" property="state" />
<result column="ORG_ID" jdbcType="VARCHAR" property="orgId" />
<result column="YSBM" jdbcType="VARCHAR" property="ysbm" />
<result column="YSMC" jdbcType="VARCHAR" property="ysmc" />
<result column="YSLX" jdbcType="VARCHAR" property="yslx" />
</resultMap>
<delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
delete from SER_DOCTOR
where ID = #{id,jdbcType=DECIMAL}
</delete>
<insert id="insert" parameterType="com.bsoft.api.model.SerDoctor">
<selectKey keyProperty="id" order="AFTER" resultType="java.math.BigDecimal">
select SEQ_SER_DOCTOR_ID.nextval from dual
</selectKey>
insert into SER_DOCTOR (CREATE_DATE, CREATE_USERID, "STATE",
ORG_ID, YSBM, YSMC,
YSLX)
values (#{createDate,jdbcType=TIMESTAMP}, #{createUserid,jdbcType=DECIMAL}, #{state,jdbcType=DECIMAL},
#{orgId,jdbcType=VARCHAR}, #{ysbm,jdbcType=VARCHAR}, #{ysmc,jdbcType=VARCHAR},
#{yslx,jdbcType=VARCHAR})
</insert>
<update id="updateByPrimaryKey" parameterType="com.bsoft.api.model.SerDoctor">
update SER_DOCTOR
set CREATE_DATE = #{createDate,jdbcType=TIMESTAMP},
CREATE_USERID = #{createUserid,jdbcType=DECIMAL},
"STATE" = #{state,jdbcType=DECIMAL},
ORG_ID = #{orgId,jdbcType=VARCHAR},
YSBM = #{ysbm,jdbcType=VARCHAR},
YSMC = #{ysmc,jdbcType=VARCHAR},
YSLX = #{yslx,jdbcType=VARCHAR}
where ID = #{id,jdbcType=DECIMAL}
</update>
<select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
select ID, CREATE_DATE, CREATE_USERID, "STATE", ORG_ID, YSBM, YSMC, YSLX
from SER_DOCTOR
where ID = #{id,jdbcType=DECIMAL}
</select>
<select id="selectAll" resultMap="BaseResultMap">
select ID, CREATE_DATE, CREATE_USERID, "STATE", ORG_ID, YSBM, YSMC, YSLX
from SER_DOCTOR
</select>
<select id="selectDoctor" resultMap="BaseResultMap">
SELECT DISTINCT d.*
FROM SER_DEPT_DOC_RS ddr
join SER_DOCTOR d on d.YSBM=ddr.YSBM
where d.STATE = 1 and ddr.STATE = 1 and ddr.KSBM = #{dept,jdbcType=VARCHAR}
</select>
</mapper>
\ No newline at end of file
...@@ -32,9 +32,9 @@ ...@@ -32,9 +32,9 @@
<!-- 针对oracle数据库 获取字段注释 --> <!-- 针对oracle数据库 获取字段注释 -->
<property name="remarksReporting" value="true"></property> <property name="remarksReporting" value="true"></property>
<!-- 针对mysql数据库 获取字段注释 --> <!-- 针对mysql数据库 获取字段注释 -->
<!-- <property name="useInformationSchema" value="true"></property>--> <!-- <property name="useInformationSchema" value="true"></property>-->
</jdbcConnection> </jdbcConnection>
<!-- <javaTypeResolver type="com.bsoft.generator.JavaTypeResolverImpl"/>--> <!-- <javaTypeResolver type="com.bsoft.generator.JavaTypeResolverImpl"/>-->
<!-- 生成实体类配置 --> <!-- 生成实体类配置 -->
<javaModelGenerator targetPackage="com.bsoft.api.model" targetProject="src/main/java"/> <javaModelGenerator targetPackage="com.bsoft.api.model" targetProject="src/main/java"/>
<!-- 生成映射文件配置 --> <!-- 生成映射文件配置 -->
...@@ -42,58 +42,64 @@ ...@@ -42,58 +42,64 @@
<!-- 生成映射接口配置 --> <!-- 生成映射接口配置 -->
<javaClientGenerator targetPackage="com.bsoft.api.mapper" targetProject="src/main/java" type="XMLMAPPER"/> <javaClientGenerator targetPackage="com.bsoft.api.mapper" targetProject="src/main/java" type="XMLMAPPER"/>
<!-- <table tableName="sys_user" schema="ll" >--> <!-- <table tableName="sys_user" schema="ll" >-->
<!-- &lt;!&ndash; 主键生成方式 &ndash;&gt;--> <!-- &lt;!&ndash; 主键生成方式 &ndash;&gt;-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_USER_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_USER_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<table tableName="SER_DIM_VALUE" > <table tableName="SER_DEPARTMENT">
<generatedKey column="id" sqlStatement="select SEQ_SER_DIM_VALUE_ID.nextval from dual" identity="true" /> <generatedKey column="id" sqlStatement="select SEQ_SER_DEPARTMENT_ID.nextval from dual" identity="true"/>
</table> </table>
<!-- <table tableName="DIC_IND" schema="ll" >--> <table tableName="SER_DEPT_DOC_RS">
<!-- <generatedKey column="id" sqlStatement="select SEQ_DIC_IND_ID.nextval from dual" identity="true" />--> <generatedKey column="id" sqlStatement="select SEQ_SER_DEPT_DOC_RS_ID.nextval from dual" identity="true"/>
<!-- </table>--> </table>
<!-- <table tableName="DIC_ORG" schema="ll" >--> <table tableName="SER_DOCTOR">
<!-- <generatedKey column="id" sqlStatement="select SEQ_DIC_ORG_ID.nextval from dual" identity="true" />--> <generatedKey column="id" sqlStatement="select SEQ_SER_DOCTOR_ID.nextval from dual" identity="true"/>
<!-- </table>--> </table>
<!-- <table tableName="SER_BLOCK_IND_RS" schema="ll" >--> <!-- <table tableName="DIC_IND" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SER_ BLOCK_IND_RS_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_DIC_IND_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SER_BLOCK" schema="ll" >--> <!-- <table tableName="DIC_ORG" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SER_BLOCK_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_DIC_ORG_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SER_PAGE" schema="ll" >--> <!-- <table tableName="SER_BLOCK_IND_RS" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SER_PAGE_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SER_ BLOCK_IND_RS_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SER_PAGE_BLOCK_RS" schema="ll" >--> <!-- <table tableName="SER_BLOCK" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SER_PAGE_BLOCK_RS_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SER_BLOCK_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SER_PAGE_DIM_RS" schema="ll" >--> <!-- <table tableName="SER_PAGE" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SER_PAGE_DIM_RS_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SER_PAGE_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SYS_MENU" schema="ll" >--> <!-- <table tableName="SER_PAGE_BLOCK_RS" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_MENU_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SER_PAGE_BLOCK_RS_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SYS_ORG" schema="ll" >--> <!-- <table tableName="SER_PAGE_DIM_RS" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_ORG_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SER_PAGE_DIM_RS_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SYS_PROJECT" schema="ll" >--> <!-- <table tableName="SYS_MENU" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_PROJECT_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_MENU_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SYS_ROLE" schema="ll" >--> <!-- <table tableName="SYS_ORG" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_ROLE_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_ORG_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SYS_ROLE_MENU_RS" schema="ll" >--> <!-- <table tableName="SYS_PROJECT" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_ROLE_MENU_RS_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_PROJECT_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SYS_USER_MENU_RS" schema="ll" >--> <!-- <table tableName="SYS_ROLE" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_USER_MENU_RS_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_ROLE_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SYS_USER_ORG_RS" schema="ll" >--> <!-- <table tableName="SYS_ROLE_MENU_RS" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_USER_ORG_RS_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_ROLE_MENU_RS_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SYS_USER_ROLE_RS" schema="ll" >--> <!-- <table tableName="SYS_USER_MENU_RS" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_USER_ROLE_RS_ID.nextval from dual" identity="true" />--> <!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_USER_MENU_RS_ID.nextval from dual" identity="true" />-->
<!-- </table>--> <!-- </table>-->
<!-- <table tableName="SYS_USER_ORG_RS" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_USER_ORG_RS_ID.nextval from dual" identity="true" />-->
<!-- </table>-->
<!-- <table tableName="SYS_USER_ROLE_RS" schema="ll" >-->
<!-- <generatedKey column="id" sqlStatement="select SEQ_SYS_USER_ROLE_RS_ID.nextval from dual" identity="true" />-->
<!-- </table>-->
</context> </context>
<!--<context id="sqlserver" targetRuntime="MyBatis3Simple" defaultModelType="flat">--> <!--<context id="sqlserver" targetRuntime="MyBatis3Simple" defaultModelType="flat">-->
<!--<property enName="beginningDelimiter" value="["/>--> <!--<property enName="beginningDelimiter" value="["/>-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment