Selaa lähdekoodia

--update insert();

zzy.zhiyuan.foxmail 8 vuotta sitten
vanhempi
commit
80b5d6974b
1 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 7 7
      src/main/java/com/ekexiu/portal/service/DemandService.java

+ 7 - 7
src/main/java/com/ekexiu/portal/service/DemandService.java

@ -96,13 +96,13 @@ public class DemandService {
96 96
				this.demandSubOrIndusDao.insert(con, subOrIndus);
97 97
			}
98 98
		}
99
		if("1".equals(demand.getDemandType())){
100
			//发布个人需求给发布者增加积分
101
			this.growthLogService.addProDemand(con, demand.getDemander());
102
		}else if("2".equals(demand.getDemandType())){
103
			//发布企业需求给发布者增加积分
104
			this.growthLogService.addOrgDemand(con, demand.getDemander());
105
		}
99
//		if("1".equals(demand.getDemandType())){
100
//			//发布个人需求给发布者增加积分
101
//			this.growthLogService.addProDemand(con, demand.getDemander());
102
//		}else if("2".equals(demand.getDemandType())){
103
//			//发布企业需求给发布者增加积分
104
//			this.growthLogService.addOrgDemand(con, demand.getDemander());
105
//		}
106 106
	}
107 107
	
108 108
	@Post