|
|
@@ -1,32 +0,0 @@
|
|
1
|
|
-<?xml version="1.0" encoding="UTF-8" ?>
|
|
2
|
|
-<!DOCTYPE mapper
|
|
3
|
|
-PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
4
|
|
-"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
5
|
|
-<mapper namespace="api.mapper.system.MainProblemMapper">
|
|
6
|
|
-
|
|
7
|
|
-
|
|
8
|
|
-
|
|
9
|
|
-
|
|
10
|
|
- <select id="selectWorkroderType" resultType="Long" resultSets="api.entity.database.system.MainProblem">
|
|
11
|
|
- select *
|
|
12
|
|
- FROM workorder_type a where a.is_delete=0
|
|
13
|
|
- <if test="id >0 ">
|
|
14
|
|
- and a.id=#{id}
|
|
15
|
|
- </if>
|
|
16
|
|
- order by a.id
|
|
17
|
|
- </select>
|
|
18
|
|
-
|
|
19
|
|
- <select id="selectWorkroderTypeById" resultType="Long" resultSets="api.entity.database.system.MainProblem">
|
|
20
|
|
- select *
|
|
21
|
|
- FROM workorder_type a where a.is_delete=0 and a.id=#{id}
|
|
22
|
|
- order by a.id
|
|
23
|
|
- </select>
|
|
24
|
|
-
|
|
25
|
|
-
|
|
26
|
|
-
|
|
27
|
|
-</mapper>
|