Browse Source

问题修改

xiaochen 2 years ago
parent
commit
ee893e50d1
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/main/resources/mapper/ClientMapper.xml

+ 5 - 2
src/main/resources/mapper/ClientMapper.xml

@@ -19,7 +19,9 @@
         select
            id,
            code,
-           days
+           days,
+           name,
+           states
         from sg_client where code = #{code}
     </select>
     <!--查询客户表列表-->
@@ -28,7 +30,8 @@
             a.id,
             a.code,
             a.days,
-            a.name
+            a.name,
+            a.states
         from sg_client a
         <trim prefix="WHERE" prefixOverrides="and |or">
             <if test="code != null and code != ''">