Explorar o código

[task-4999] 题库管理和考试管理增加查询字段

xiexh hai 7 meses
pai
achega
8334d40344

+ 3 - 0
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/components/sqlzdy/Service/SwdlServiceImpl.java

@@ -231,6 +231,9 @@ public class SwdlServiceImpl extends GenericProvider implements SwdlService {
                 if(BeanUtils.isNotEmpty(param.get("tiKuId"))){
                     stringObjectHashMap.put("tiKuId", String.join(",", (ArrayList)param.get("tiKuId")));
                 }
+                if(BeanUtils.isNotEmpty(param.get("createBy"))){
+                    stringObjectHashMap.put("createBy", String.join(",", (ArrayList)param.get("createBy")));
+                }
                 stringObjectHashMap.put("kaoShiMingChen",kaoShiMingChen);
                 stringObjectHashMap.put("chuangJianShiJUp",param.get("chuangJianShiJ^S"));
                 stringObjectHashMap.put("chuangJianShiJLower",param.get("chuangJianShiJ^E"));

+ 9 - 0
ibps-provider-root/modules/provider-business/src/main/resources/com/lc/ibps/klimsibps/mapping/UpdateDataTableMapper.xml

@@ -348,6 +348,9 @@
             <if test="@o.Ognl@isNotEmpty(map.faBuShiJianLower)">
                 AND (ex.fa_bu_shi_jian_ <![CDATA[ <= ]]> #{map.faBuShiJianLower} OR ex.chuang_jian_shi_j is null)
             </if>
+            <if test="@o.Ognl@isNotEmpty(map.createBy)">
+                AND FIND_IN_SET(ex.create_by_,#{map.createBy})
+            </if>
         </where>
      </select>
     <select id="selectExInfoByLocationCount" resultType="java.lang.Integer" parameterType="java.util.Map">
@@ -382,6 +385,9 @@
             <if test="@o.Ognl@isNotEmpty(map.faBuShiJianLower)">
                 AND ex.fa_bu_shi_jian_ <![CDATA[ <= ]]> #{map.faBuShiJianLower}
             </if>
+            <if test="@o.Ognl@isNotEmpty(map.createBy)">
+                AND FIND_IN_SET(ex.create_by_,#{map.createBy})
+            </if>
         </where>
     </select>
     <select id="selectExInfoByLocationCountNull" resultType="java.lang.Integer" parameterType="java.util.Map">
@@ -404,6 +410,9 @@
             <if test="@o.Ognl@isNotEmpty(map.tiKuId)">
                 AND FIND_IN_SET(ex.ti_ku_id_,#{map.tiKuId})
             </if>
+            <if test="@o.Ognl@isNotEmpty(map.createBy)">
+                AND FIND_IN_SET(ex.create_by_,#{map.createBy})
+            </if>
             and ex.chuang_jian_shi_j is null or ex.fa_bu_shi_jian_ is null
         </where>
     </select>