my-csc-config-file.git 3 роки тому
батько
коміт
dab7d0973d

+ 1 - 1
src/main/java/com/unissoft/mapper/QuantityQualityMapper.java

@@ -15,5 +15,5 @@ import java.util.List;
15 15
  * @since 2021-01-26
16 16
  */
17 17
 public interface QuantityQualityMapper extends BaseMapper<QuantityQuality> {
18
-    public List<QuantityQuality> groudByType(@Param("depotId") String depotId, @Param("depotType") String depotType);
18
+    List<QuantityQuality> groudByType(@Param("depotId") String depotId, @Param("depotType") String depotType);
19 19
 }

+ 4 - 1
src/main/java/com/unissoft/mapper/QuantityQualityMapper.xml

@@ -16,11 +16,14 @@
16 16
         <result column="c_quality" property="cQuality" />
17 17
         <result column="c_character" property="cCharacter" />
18 18
         <result column="c_toxin_index" property="cToxinIndex" />
19
+        <result column="save_state" property="saveState" />
20
+        <result column="m_spare" property="mSpare" />
21
+        <result column="m_spare2" property="mSpare2" />
19 22
     </resultMap>
20 23
 
21 24
     <!-- 通用查询结果列 -->
22 25
     <sql id="Base_Column_List">
23
-        q_id, q_type, q_type_name, depot_ypte, depot_id, depot_name, warehouse_id, warehouse_name, create_time, c_quality, c_character, c_toxin_index
26
+        q_id, q_type, q_type_name, depot_ypte, depot_id, depot_name, warehouse_id, warehouse_name, create_time, c_quality, c_character, c_toxin_index, save_state, m_spare, m_spare2
24 27
     </sql>
25 28
 
26 29
     <select id="groudByType" resultMap="BaseResultMap">

+ 10 - 0
src/main/java/com/unissoft/model/QuantityQuality.java

@@ -75,5 +75,15 @@ public class QuantityQuality implements Serializable {
75 75
     @TableField("c_toxin_index")
76 76
     private Integer cToxinIndex;
77 77
 
78
+    @ApiModelProperty(value = "0保存,1暂存")
79
+    @TableField("save_state")
80
+    private Integer saveState;
78 81
 
82
+    @ApiModelProperty(value = "备用1")
83
+    @TableField("m_spare")
84
+    private String mSpare;
85
+
86
+    @ApiModelProperty(value = "备用2")
87
+    @TableField("m_spare2")
88
+    private String mSpare2;
79 89
 }