3/6
This commit is contained in:
@@ -20,6 +20,7 @@ public class TransferRecordsVo implements Vo {
|
||||
private String sid;
|
||||
private String customerSid;//客户sid
|
||||
private String transferCode;//转赠code
|
||||
private String newCode;//转赠code 加空格
|
||||
private String affiliation;//所属菜窖
|
||||
private String state;//
|
||||
private String stateValue;//
|
||||
|
||||
@@ -43,5 +43,6 @@ public class VegeCellarReserveOrderVo implements Vo {
|
||||
private String stateValue;
|
||||
private String affiliationValue;
|
||||
private String reserveCode;
|
||||
private String newCode;
|
||||
private boolean showLsit=false;
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ public class TransferRecordsService extends MybatisBaseService<TransferRecordsMa
|
||||
}
|
||||
}
|
||||
if(StringUtils.isNotBlank(vo.getTransferCode())){
|
||||
vo.setTransferCode(addSpaces(vo.getTransferCode()));
|
||||
vo.setNewCode(addSpaces(vo.getTransferCode()));
|
||||
}
|
||||
// vo.setGoodsVo(goodsVo);
|
||||
}
|
||||
|
||||
@@ -343,7 +343,9 @@ public class VegeCellarReserveOrderService extends MybatisBaseService<VegeCellar
|
||||
vo.setGoodss(vo.getGoodss() + " " + lpkGoods.getName() + ":" + goods1.getNum() + lpkGoods.getUnitName());
|
||||
}
|
||||
}
|
||||
vo.setReserveCode(addSpaces(vo.getReserveCode()));
|
||||
if(StringUtils.isNotBlank(vo.getReserveCode())){
|
||||
vo.setNewCode(addSpaces(vo.getReserveCode()));
|
||||
}
|
||||
vo.setGoodsVo(goodsVo);
|
||||
}
|
||||
|
||||
@@ -887,7 +889,7 @@ public class VegeCellarReserveOrderService extends MybatisBaseService<VegeCellar
|
||||
}
|
||||
/**
|
||||
* 单号每四位加空格
|
||||
* @param newCode
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
public static String addSpaces(String code) {
|
||||
|
||||
Reference in New Issue
Block a user