正在显示
2 个修改的文件
包含
10 行增加
和
2 行删除
@@ -15,6 +15,7 @@ import java.util.ArrayList; | @@ -15,6 +15,7 @@ import java.util.ArrayList; | ||
15 | import java.util.Arrays; | 15 | import java.util.Arrays; |
16 | import java.util.List; | 16 | import java.util.List; |
17 | import java.util.Vector; | 17 | import java.util.Vector; |
18 | +import java.util.stream.Collectors; | ||
18 | 19 | ||
19 | /** | 20 | /** |
20 | * @author | 21 | * @author |
@@ -55,6 +56,14 @@ public class ResMessageServiceImpl implements ResMessageService { | @@ -55,6 +56,14 @@ public class ResMessageServiceImpl implements ResMessageService { | ||
55 | return false; | 56 | return false; |
56 | } | 57 | } |
57 | 58 | ||
59 | + list_infos = list_infos.stream().filter(listInfo ->{ | ||
60 | + if("B".equals(listInfo.getExt4())){ | ||
61 | + return true; | ||
62 | + }else { | ||
63 | + return false; | ||
64 | + } | ||
65 | + }).collect(Collectors.toList()); | ||
66 | + | ||
58 | logger.info("运单列表:" + toStrArry(list_infos)); | 67 | logger.info("运单列表:" + toStrArry(list_infos)); |
59 | boolean flag = false; | 68 | boolean flag = false; |
60 | 69 |
@@ -39,11 +39,10 @@ | @@ -39,11 +39,10 @@ | ||
39 | </select> | 39 | </select> |
40 | <select id="selectmanilists" parameterType="java.lang.String" resultMap="BaseResultMap"> | 40 | <select id="selectmanilists" parameterType="java.lang.String" resultMap="BaseResultMap"> |
41 | select | 41 | select |
42 | - awba | 42 | + awba,ext4 |
43 | from land_busineestype_list_info | 43 | from land_busineestype_list_info |
44 | where 1=1 | 44 | where 1=1 |
45 | and applicationFormId = #{applicationformid,jdbcType=VARCHAR} | 45 | and applicationFormId = #{applicationformid,jdbcType=VARCHAR} |
46 | - and ext4='B' | ||
47 | </select> | 46 | </select> |
48 | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> | 47 | <delete id="deleteByPrimaryKey" parameterType="java.lang.String"> |
49 | delete from land_busineestype_list_info | 48 | delete from land_busineestype_list_info |
-
请 注册 或 登录 后发表评论