浏览代码

行情\行情产品配置审核

刘浩男 1 年之前
父节点
当前提交
4a7235b5d3

+ 1 - 3
sooka-jnb/src/main/java/com/sooka/jnb/quotations/service/impl/JnbQuotationsServiceImpl.java

@@ -141,9 +141,7 @@ public class JnbQuotationsServiceImpl implements IJnbQuotationsService {
             announcement.setAnnouncementBody("您在" + data + "发起的行情信息已审核被拒绝,请查看");
             announcement.setValidityStartTime(new Date());
             announcement.setUserId(String.valueOf(id));
-            announcement.setCreateBy(SecurityUtils.getUserId(
-                    
-            ).toString());
+            announcement.setCreateBy(SecurityUtils.getUserId().toString());
             return announcement;
         }
     }

+ 1 - 0
sooka-jnb/src/main/resources/mapper/quotations/JnbQuotationsMapper.xml

@@ -59,6 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="area != null  and area != ''">and a.area = #{area}</if>
             <if test="type != null  and type != ''">and a.type = #{type}</if>
             and a.del_flag = 0
+            <if test="status != null  and status != ''">and a.status = #{status}</if>
         </where>
     </select>