anderx пре 4 година
родитељ
комит
389df8b4a5
2 измењених фајлова са 3 додато и 10 уклоњено
  1. 3 9
      GeneratorConfig.xml
  2. 0 1
      src/main/java/com/kede/user/controller/UserApiController.java

+ 3 - 9
GeneratorConfig.xml

@@ -43,15 +43,9 @@
     <property name="enableSubPackages" value="false"/>
      <property name="nullCatalogMeansCurrent" value="true"/>
     </javaClientGenerator>
-    <table schema="aft_ow" tableName="project"   enableCountByExample="false"
-               enableUpdateByExample="false"
-               enableDeleteByExample="false"
-               enableSelectByExample="false"
-               selectByExampleQueryId="false"
-               enableSelectByPrimaryKey="true"
-               enableUpdateByPrimaryKey="true"
-               enableDeleteByPrimaryKey="true"
-        >
+    <table schema="aft_ow" tableName="project"   enableCountByExample="false" enableUpdateByExample="false" 
+    	enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false" 
+    	enableSelectByPrimaryKey="true" enableUpdateByPrimaryKey="true" enableDeleteByPrimaryKey="true" >
          <property name="useActualColumnNames" value="false"/>
         </table>
   </context>

+ 0 - 1
src/main/java/com/kede/user/controller/UserApiController.java

@@ -9,7 +9,6 @@ import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RestController;
 
 import com.kede.common.bo.Result;
-import com.kede.common.constant.AFTConstants;
 import com.kede.common.constant.ErrorConstants;
 import com.kede.common.controller.BaseController;
 import com.kede.common.model.Order;