Explorar el Código

[审批][修改][全列表添加过滤审批]

release_toaliyun_real
luozukai hace 7 años
padre
commit
e183df7c49
Se han modificado 2 ficheros con 5 adiciones y 2 borrados
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java
  2. +4
    -1
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java Ver fichero

@@ -553,7 +553,7 @@ public class WxFlowServiceImpl implements WxFlowService {
WxCoupon query = new WxCoupon();
query.setTenantId(tenantId);
query.setId(businessId);
List<WxCoupon> couponList = wxCouponMapper.findCouponList(query);
List<WxCoupon> couponList = wxCouponMapper.findList(query);
if(CollectionUtils.isNotEmpty(couponList)) {
WxCoupon coupon = couponList.get(0);
result = wxFlowRecordService.findList(new WxFlowRecord(businessId,tenantId,coupon.getApprovalType()));


+ 4
- 1
mallinkService/src/main/resources/mapper/WxCouponMapper.xml Ver fichero

@@ -446,7 +446,10 @@
<include refid="allColumns"/>
from wx_coupon c
<include refid="dynamicWhereConditionsForCoupon"/>
limit #{limitStart},#{limitEnd}

<if test="null != limitStart and null != limitEnd">
limit #{limitStart},#{limitEnd}
</if>
</select>

<select id="findCouponListCount" parameterType="com.iformall.domain.po.WxCoupon" resultType="Integer">


Cargando…
Cancelar
Guardar