类 OrderRemarkUtil

java.lang.Object
com.elitesland.ystdms.sopt.api.feign.rpc.idsvote.OrderRemarkUtil

public class OrderRemarkUtil extends Object
  • 构造器详细资料

    • OrderRemarkUtil

      public OrderRemarkUtil()
  • 方法详细资料

    • appendLabelNewRice

      public static String appendLabelNewRice(String freshRicePaste, String freshRiceNum, String freshRicePlace, String brStr)
      拼接新米贴内容 freshRicePaste: 新米贴标识:【第1个外箱贴】【第2个外箱贴】 freshRiceNum: 新米贴数量: 【1】【1】 freshRicePlace: 新米贴位置:【标签位置1】【标签位置2】 brStr: 换行分隔符,如\n,
      返回 String
    • appendLabelBoxOut

      public static String appendLabelBoxOut(String outBoxPasteType, String outBoxPasteContent, String outBoxPastePlace, String outBoxPasteNum, String brStr)
      拼接外箱贴 outBoxPasteType: 外箱贴类型 outBoxPasteContent: 外箱贴内容 outBoxPastePlace: 外箱贴位置 outBoxPasteNum: 外箱贴数量 brStr: 返回: String
    • labelStr2Array

      public static String[] labelStr2Array(String labelStr)
      新米贴外箱贴字符串转数组通用方法 入参: labelStr:
    • labelStr2List

      public static List<String> labelStr2List(String labelStr)
      把新米贴或者外箱贴名称从“【1】【2】”转为list[1,2]
    • getNewRiceStrings

      public static Map<String,String> getNewRiceStrings(List<OrderRemarkLabelNewRiceVo> labelNewRiceList)
    • getBoxOutStrings

      public static Map<String,String> getBoxOutStrings(List<OrderRemarkLabelNewRiceVo> labelBoxOutList)