anderx 3 years ago
parent
commit
dae2da0658

+ 4 - 2
src/main/java/com/goafanti/order/bo/OutNewOrderDunBo.java

@@ -29,8 +29,10 @@ public class OutNewOrderDunBo extends NewOrderDun {
 	}
 
 	public String getDunTypeName() {
-		if(super.getDunType()!=null&&super.getProjectType()!=null) {
-			return NewOrderDunType.getValueByCode(Integer.valueOf(""+super.getProjectType()+super.getDunType()));
+		System.out.println(getDunType()+","+getProjectType());
+		if(getDunType()!=null&&getProjectType()!=null) {
+			System.out.println(Integer.valueOf(""+getProjectType()+getDunType()));
+			return NewOrderDunType.getValueByCode(Integer.valueOf(""+getProjectType()+getDunType()));
 		}
 		return dunTypeName;
 	}

+ 1 - 1
src/main/java/com/goafanti/order/service/impl/NewOrderDunServiceImpl.java

@@ -41,7 +41,7 @@ public class NewOrderDunServiceImpl extends BaseMybatisDao<NewOrderDunMapper> im
 				ib.setEffectiveCount(x);
 			}
 		}else 	newOrderDunMapper.insertSelective(ib);
-		return 0;
+		return 1;
 	}
 
 

+ 1 - 1
src/main/resources/props/config_local.properties

@@ -46,7 +46,7 @@ user_remind_days=15
 user_channel_days=90
 
 avatar.host=//static.jishutao.com
-static.host=//static.jishutao.com/1.2.18
+static.host=//static.jishutao.com/1.2.19
 #avatar.host=//172.16.0.255:3000
 #static.host=//172.16.0.255:3000/1.2.05
 #static.host=http://172.16.1.187/prod/1.2.05