瀏覽代碼

--update insert();

zzy.zhiyuan.foxmail 8 年之前
父節點
當前提交
80b5d6974b
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7 7
      src/main/java/com/ekexiu/portal/service/DemandService.java

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

96
				this.demandSubOrIndusDao.insert(con, subOrIndus);
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
	@Post
108
	@Post