Переглянути джерело

查获记录-X光开机员

chenshudong 1 тиждень тому
батько
коміт
0cd62b71e2

+ 2 - 0
airport-admin/src/main/java/com/sundot/airport/web/controller/item/ItemSeizureRecordController.java

@@ -157,6 +157,7 @@ public class ItemSeizureRecordController extends BaseController {
157 157
                     exportVO.setInspectTeamName(record.getInspectTeamName());
158 158
                     exportVO.setAttendanceTeamName(record.getAttendanceTeamName());
159 159
                     exportVO.setPowerOnInstruction(record.getPowerOnInstruction());
160
+                    exportVO.setXrayOperator(record.getXrayOperatorName());
160 161
                     exportVO.setProcessStatus(record.getProcessStatus());
161 162
 
162 163
                     // 物品信息为空
@@ -189,6 +190,7 @@ public class ItemSeizureRecordController extends BaseController {
189 190
                         exportVO.setInspectTeamName(record.getInspectTeamName());
190 191
                         exportVO.setAttendanceTeamName(record.getAttendanceTeamName());
191 192
                         exportVO.setPowerOnInstruction(record.getPowerOnInstruction());
193
+                        exportVO.setXrayOperator(record.getXrayOperatorName());
192 194
                         exportVO.setProcessStatus(record.getProcessStatus());
193 195
 
194 196
                         // 物品信息

+ 6 - 0
airport-item/src/main/java/com/sundot/airport/item/domain/vo/ItemSeizureRecordExportVO.java

@@ -85,6 +85,12 @@ public class ItemSeizureRecordExportVO {
85 85
     private Integer powerOnInstruction;
86 86
 
87 87
     /**
88
+     * X光开机员
89
+     */
90
+    @Excel(name = "X光开机员", sort = 13)
91
+    private String xrayOperator;
92
+
93
+    /**
88 94
      * 流程状态:0=草稿,1=审核中,2=人工终止,3=归档
89 95
      */
90 96
     @Excel(name = "流程状态", readConverterExp = "0=草稿,1=审核中,2=人工终止,3=归档", combo = "草稿,审核中,人工终止,归档")

+ 4 - 0
airport-item/src/main/resources/mapper/item/ItemSeizureRecordMapper.xml

@@ -204,6 +204,10 @@
204 204
                 and seizure_time <![CDATA[ < ]]> date_add(#{endTime} , interval 1 day)
205 205
             </if>
206 206
             <if test="powerOnInstruction != null ">and power_on_instruction = #{powerOnInstruction}</if>
207
+            <if test="xrayOperatorId != null ">and xray_operator_id = #{xrayOperatorId}</if>
208
+            <if test="xrayOperatorName != null  and xrayOperatorName != ''">and xray_operator_name like
209
+                concat('%', #{xrayOperatorName}, '%')
210
+            </if>
207 211
         </where>
208 212
         order by create_time desc
209 213
     </select>