React17+React Hook+TS4 Best practices mimic Jira enterprise projects
V: ititit111222333
` / * *
- User address interface
*/ public interface AddressService {
/** * query all user addresses by userId ** @param userId userId * @return List<UserAddress> UserAddress set */ List<UserAddress> listByUserId(String) userId); /** * insert user address data ** @param addressBO business object */ void insert(addressBO addressBO); / * * * according to the user id and user address id delete user data * * @ param userId user id * @ param addressId user address id * / void deleteByUserIdAndAddressId (String userId, String addressId); ** @param userId userId * @param addressId user addressId */ void setAddressToBeDefault(String userId, String addressId);Copy the code
} `