|
|
|
@ -206,23 +206,23 @@ public class GoodsController extends BaseController { |
|
|
|
} |
|
|
|
// 委托数据名称
|
|
|
|
String entrustName = request.getString("entrust_name"); |
|
|
|
if (StringUtils.isNotBlank(entrustName)) { |
|
|
|
if (StringUtils.isNotBlank(entrustName) || !"undefined".equals(entrustName)) { |
|
|
|
qmap.put("gd.goods_name", entrustName); |
|
|
|
} |
|
|
|
//数据类型
|
|
|
|
String recordType = request.getString("record_type"); |
|
|
|
if (StringUtils.isNotBlank(recordType)) { |
|
|
|
if (StringUtils.isNotBlank(recordType) || !"undefined".equals(recordType)) { |
|
|
|
qmap.put("gd.goods_type", recordType); |
|
|
|
} |
|
|
|
//委托方
|
|
|
|
String entrustUser = request.getString("entrust_user_name"); |
|
|
|
if (StringUtils.isNotBlank(entrustUser)) { |
|
|
|
if (StringUtils.isNotBlank(entrustUser) || !"undefined".equals(entrustUser)) { |
|
|
|
qmap.put("g.entrust_name", entrustUser); |
|
|
|
} |
|
|
|
|
|
|
|
// 授权类型
|
|
|
|
String authorization = request.getString("authorization"); |
|
|
|
if (StringUtils.isNotBlank(authorization)) { |
|
|
|
if (StringUtils.isNotBlank(authorization) || !"undefined".equals(authorization)) { |
|
|
|
Integer igoodsEntrust = Integer.valueOf(authorization); |
|
|
|
qmap.put("gd.goods_entrust", igoodsEntrust); |
|
|
|
} |
|
|
|
|