|
@@ -106,7 +106,7 @@ public class WxMagnetController extends BaseController
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
public AjaxResult addSave(@Validated WxMagnet wxMagnet)
|
|
public AjaxResult addSave(@Validated WxMagnet wxMagnet)
|
|
|
{
|
|
{
|
|
|
- String newMagnetName = "";
|
|
|
|
|
|
|
+ String newMagnetName = wxMagnet.getMagnetName();
|
|
|
String newOrderNum = "";
|
|
String newOrderNum = "";
|
|
|
if ("0".equals(wxMagnet.getUserType())){
|
|
if ("0".equals(wxMagnet.getUserType())){
|
|
|
newMagnetName = newMagnetName + "(立邦员工)";
|
|
newMagnetName = newMagnetName + "(立邦员工)";
|
|
@@ -147,7 +147,7 @@ public class WxMagnetController extends BaseController
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
public AjaxResult editSave(@Validated WxMagnet wxMagnet)
|
|
public AjaxResult editSave(@Validated WxMagnet wxMagnet)
|
|
|
{
|
|
{
|
|
|
- String newMagnetName = "";
|
|
|
|
|
|
|
+ String newMagnetName = wxMagnet.getMagnetName();
|
|
|
String newOrderNum = "";
|
|
String newOrderNum = "";
|
|
|
// 根据用户类型设置磁铁名称和订单号前缀
|
|
// 根据用户类型设置磁铁名称和订单号前缀
|
|
|
if ("0".equals(wxMagnet.getUserType())){
|
|
if ("0".equals(wxMagnet.getUserType())){
|