shiyj1101
2021-08-05 e57e32fc43da31917912eebb4e47d4e50df1a9e9
java110-bean/src/main/java/com/java110/entity/merchant/BoMerchantAttr.java
old mode 100644 new mode 100755
@@ -9,7 +9,7 @@
 * 商户属性表 bo_merchant_type
 * Created by wuxw on 2017/5/20.
 */
public class BoMerchantAttr extends DefaultBoAttrEntity implements Comparable {
public class BoMerchantAttr extends DefaultBoAttrEntity implements Comparable<BoMerchantAttr> {
    private String boId;
@@ -86,8 +86,7 @@
    }
    @Override
    public int compareTo(Object o) {
        BoMerchantAttr otherBoMerchant = (BoMerchantAttr)o;
    public int compareTo(BoMerchantAttr otherBoMerchant) {
        if("DEL".equals(this.getState()) && "ADD".equals(otherBoMerchant.getState())) {
            return -1;
        }