935090232@qq.com
2021-07-10 0374ff12e640761353a1f280e2691deaaa620a6c
zq-erp/src/main/resources/mybatis/mapper/hive/AchieveNewDao.xml
@@ -104,6 +104,9 @@
               test="(record.shopId!=null and record.shopId!='') or  (record.shopId!='' and record.shopId==0)  ">
               and a.shop_id = #{record.shopId}
            </if>
            <if test="record.achieveRuleId != null  ">
               and e.achieve_rule_id = #{record.achieveRuleId}
            </if>
            <if test="record.year != null and record.year !='' ">
               and YEAR (a.datatime) = #{record.year}
            </if>