Browse Source

修改无用代码

hxl13994548489 2 năm trước cách đây
mục cha
commit
3ac40d3de0

+ 0 - 7
src/main/java/com/ydtech/modules/order/dao/InsAreaCompanyMapper.java

@@ -62,13 +62,6 @@ public interface InsAreaCompanyMapper extends BaseMapper<InsAreaCompany> {
     InsOrders selectSecondPromotionBy(HashMap<String, Object> params);
 
     InsOrders selectThirdPromotionBy(HashMap<String, Object> params);
-    /**
-     *  @version
-     *  @author: hxl
-     *  @Date: 2024/5/8 17:48
-     *  @Description: 通过时间查询数据有效的数据
-     */
-    InsAreaCompany selectEntityByinsOrderNo(@Param("params") String ids, String timeFiltering);
 }
 
 

+ 0 - 31
src/main/resources/mapper/modules/order/InsAreaCompanyMapper.xml

@@ -396,35 +396,4 @@
             AND createtime BETWEEN #{params.startDateStr} and #{params.endDateStr}
         </if>
     </select>
-
-
-    <select id="selectEntityByinsOrderNo" resultType="com.ydtech.modules.order.entity.InsAreaCompany">
-        SELECT
-        sum(a.first_detail_premiums) as "willFirstPremiums"
-        FROM
-        ins_fee_order_new a
-        LEFT JOIN ins_area_company iac on iac.id=a.ins_order_no
-        WHERE
-        a.id NOT IN (
-        SELECT
-        ins_order_no
-        FROM
-        ins_fee_audit
-        )
-        AND iac.orderstatus =3
-        <if test="firstUserId != null and firstUserId != ''">
-            AND a.first_level_user_id = #{firstUserId}
-        </if>
-        <if test="secondUserId != null and secondUserId != ''">
-            AND a.two_level_user_id = #{secondUserId}
-        </if>
-
-        <if test="thirdUserId != null and thirdUserId != ''">
-            AND a.three_level_user_id = #{thirdUserId}
-        </if>
-
-        <if test="id != null and id != ''">
-            AND a.id = #{id}
-        </if>
-    </select>
 </mapper>