Browse Source

数据库表更改代码修改

anderx 7 years ago
parent
commit
a1afde82db

+ 1 - 1
src/main/java/com/goafanti/common/mapper/BusinessVarietiesMapper.xml

@@ -97,7 +97,7 @@
     id, create_id, create_time, update_time, delete_sign, cid, cname, super_id, layer, 
     status, varieties_logo, sort
   </sql>
-  <select id="selectByExample" parameterType="com.goafanti.common.model.BusinessVarietiesExample" resultMap="BaseResultMap">
+  <select id="selectByExample" parameterType="com.goafanti.common.model.BusinessCategoryExample" resultMap="BaseResultMap">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.

+ 1 - 1
src/main/java/com/goafanti/common/mapper/BusinessProjectMapper.xml

@@ -808,7 +808,7 @@
 	LIMIT 0, 3	
   </select>
   
-  <select id="selectBusinessProjectCatalog" resultType="com.goafanti.common.model.BusinessVarieties">
+  <select id="selectBusinessProjectCatalog" resultType="com.goafanti.common.model.BusinessCategory">
   	select id,cname from business_category where delete_sign = 0
   </select>
   

+ 1 - 1
src/main/java/com/goafanti/common/mapper/BusinessProjectModelMapper.xml

@@ -97,7 +97,7 @@
     id, create_id, create_time, update_time, pid, pname, price, offset, activity_price, 
     activity_flag, member_price, status
   </sql>
-  <select id="selectByExample" parameterType="com.goafanti.common.model.ProjectSizeExample" resultMap="BaseResultMap">
+  <select id="selectByExample" parameterType="com.goafanti.common.model.BusinessProjectModelExample" resultMap="BaseResultMap">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.

+ 0 - 11
src/main/java/com/goafanti/portal/controller/PortalOrderApiController.java

@@ -5,25 +5,16 @@ import javax.servlet.http.HttpServletRequest;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RestController;
-import com.goafanti.achievement.service.AchievementOrderLogService;
-import com.goafanti.achievement.service.AchievementService;
 import com.goafanti.activityUser.service.ActivityUserService;
 import com.goafanti.common.bo.Result;
 import com.goafanti.common.constant.ErrorConstants;
 import com.goafanti.common.controller.CertifyApiController;
 import com.goafanti.common.enums.AttachmentType;
 import com.goafanti.core.shiro.token.TokenManager;
-import com.goafanti.demand.service.DemandService;
 
 @RestController
 @RequestMapping(value = "/api/user/portal/order")
 public class PortalOrderApiController extends CertifyApiController {
-	@Resource
-	private DemandService				demandService;
-	@Resource
-	private AchievementService			achievementService;
-	@Resource
-	private AchievementOrderLogService	achievementOrderLogService;
 	
 	@Resource
 	private ActivityUserService			activityUserService;
@@ -34,8 +25,6 @@ public class PortalOrderApiController extends CertifyApiController {
 	}
 
 
-
-
 	/**
 	 * 附件上传
 	 */