Commit 8efb0469 by zhouhb

[+]代码提交

1 parent 475dc0b2
...@@ -56,6 +56,6 @@ public class FunctionListSearchRequest extends AbstractRopRequest { ...@@ -56,6 +56,6 @@ public class FunctionListSearchRequest extends AbstractRopRequest {
* 所属客户群体值 * 所属客户群体值
*/ */
@ApiModelProperty(notes = "所属客户群体值") @ApiModelProperty(notes = "所属客户群体值")
private List<String> ownedCusgroupValues; private List<Integer> ownedCusGroupValues;
} }
...@@ -94,7 +94,7 @@ public class MerchantSaveRequest extends DefaultRequest implements Serializable ...@@ -94,7 +94,7 @@ public class MerchantSaveRequest extends DefaultRequest implements Serializable
* 1.工厂 2.省代 3.市代 4.门店 * 1.工厂 2.省代 3.市代 4.门店
*/ */
@ApiModelProperty(notes = "1.工厂 2.省代 3.市代 4.门店", required = true) @ApiModelProperty(notes = "1.工厂 2.省代 3.市代 4.门店", required = true)
private Byte merchantAccountLevel; private Integer merchantAccountLevel;
@ApiModelProperty(notes = "父商户id") @ApiModelProperty(notes = "父商户id")
private Integer parentId; private Integer parentId;
......
...@@ -124,6 +124,12 @@ public class MerchantRopResponse { ...@@ -124,6 +124,12 @@ public class MerchantRopResponse {
private String residentPhone; private String residentPhone;
/** /**
* 密码
*/
@ApiModelProperty(name = "merchantLoginPassword", notes = "密码", dataType = "String", required = true, example = "1")
private String merchantLoginPassword;
/**
* 区域 * 区域
*/ */
@ApiModelProperty(name = "areaCode", notes = "区域", dataType = "Integer", required = true, example = "1") @ApiModelProperty(name = "areaCode", notes = "区域", dataType = "Integer", required = true, example = "1")
......
...@@ -77,7 +77,7 @@ public class MerchantService { ...@@ -77,7 +77,7 @@ public class MerchantService {
*/ */
@SysLog(value = "更新商户", action = OperateType.EDIT, module = "商户模块") @SysLog(value = "更新商户", action = OperateType.EDIT, module = "商户模块")
public void updateMerchant(MerchantUpdateRequest merchantUpdateRequest) { public void updateMerchant(MerchantUpdateRequest merchantUpdateRequest) {
RpcResponse<Boolean> booleanRpcResponse = merchantRemote.saveMerchantRemote(converUpdateMerchant(merchantUpdateRequest)); RpcResponse<Boolean> booleanRpcResponse = merchantRemote.updateMerchantRemote(converUpdateMerchant(merchantUpdateRequest));
if (booleanRpcResponse.isFailed()) { if (booleanRpcResponse.isFailed()) {
throw new RpcServiceException(booleanRpcResponse.getException().getErrId(), booleanRpcResponse.getMessage()); throw new RpcServiceException(booleanRpcResponse.getException().getErrId(), booleanRpcResponse.getMessage());
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!