Commit 0a85f451 authored by Quxl's avatar Quxl

x

parent 0259ba52
......@@ -132,7 +132,7 @@ public class AddressController {
}
@ApiOperation("地址列表")
@ApiOperation("删除")
@ApiImplicitParams({
@ApiImplicitParam(paramType = "query", name = "shopNO", dataType = "String", required = true, value = "店铺编码", defaultValue = ""),
@ApiImplicitParam(paramType = "query", name = "userNO", dataType = "String", required = true, value = "用户编码", defaultValue = ""),
......
......@@ -152,8 +152,9 @@ public class AddressServiceImpl implements AddressService {
return null;
}
}
public static void main(String[] args) {
System.out.println(0|1|2|1);
}
public String delete(String addId,String userNO,String shopNO,String langID) {
try {
boolean isShopExists = userService.checkShopExists(userNO, shopNO);
......@@ -164,7 +165,7 @@ public class AddressServiceImpl implements AddressService {
TCustAddress custAddress = getAddById(addId);
if(custAddress != null) {
custAddress.setnTag(1);
custAddress.setnTag(custAddress.getnTag() == null ? 1 : (custAddress.getnTag()|1));
custAddress.setsConfirmUser(userNO);
custAddress.setdConfirmDate(new Date());
custAddress.setdLastUpdateTime(new Date());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment