admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgOtherSystemGiveDTOFactory.java
@@ -1,23 +1,23 @@
package com.yeshi.fanli.util.factory.msg;
import com.yeshi.fanli.dto.msg.MsgOtherSystemGiveDTO;
import com.yeshi.fanli.util.StringUtil;
public class MsgOtherSystemGiveDTOFactory {
   // 奖励券
   public static MsgOtherSystemGiveDTO createRewardCouponGive(int count, String desc, String name, String orderId,
         int orderType, String reason) {
      if (StringUtil.isNullOrEmpty(name))
         return null;
      MsgOtherSystemGiveDTO dto = new MsgOtherSystemGiveDTO();
      dto.setCount(count);
      dto.setDesc(desc);
      dto.setName(name);
      dto.setOrderId(orderId);
      dto.setOrderType(orderType);
      dto.setReason(reason);
      return dto;
   }
}
package com.yeshi.fanli.util.factory.msg;
import com.yeshi.fanli.dto.msg.MsgOtherSystemGiveDTO;
import com.yeshi.fanli.util.StringUtil;
public class MsgOtherSystemGiveDTOFactory {
   // 奖励券
   public static MsgOtherSystemGiveDTO createRewardCouponGive(int count, String desc, String name, String orderId,
         int orderType, String reason) {
      if (StringUtil.isNullOrEmpty(name))
         return null;
      MsgOtherSystemGiveDTO dto = new MsgOtherSystemGiveDTO();
      dto.setCount(count);
      dto.setDesc(desc);
      dto.setName(name);
      dto.setOrderId(orderId);
      dto.setOrderType(orderType);
      dto.setReason(reason);
      return dto;
   }
}