| | |
| | | <?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.lf.server.mapper.show.FlowMapper"> |
| | | <mapper namespace="com.terra.system.mapper.show.FlowMapper"> |
| | | <select id="selectCount" resultType="java.lang.Integer"> |
| | | select count(*) from lf.sys_flow |
| | | <where> |
| | |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectByPage" resultType="com.lf.server.entity.show.FlowEntity"> |
| | | <select id="selectByPage" resultType="com.terra.system.entity.show.FlowEntity"> |
| | | select * from lf.sys_flow |
| | | <where> |
| | | <if test="userid != null"> |
| | |
| | | limit #{limit} offset #{offset} |
| | | </select> |
| | | |
| | | <select id="selectAll" resultType="com.lf.server.entity.show.FlowEntity"> |
| | | <select id="selectAll" resultType="com.terra.system.entity.show.FlowEntity"> |
| | | select * from lf.sys_flow order by id desc |
| | | </select> |
| | | |
| | | <select id="selectById" resultType="com.lf.server.entity.show.FlowEntity"> |
| | | <select id="selectById" resultType="com.terra.system.entity.show.FlowEntity"> |
| | | select * from lf.sys_flow where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insert" parameterType="com.lf.server.entity.show.FlowEntity"> |
| | | <insert id="insert" parameterType="com.terra.system.entity.show.FlowEntity"> |
| | | insert into lf.sys_flow |
| | | (applyid,depcode,userid,status,descr,create_user,create_time) |
| | | values |