Compare commits

..

3 Commits

Author SHA1 Message Date
weihongyang
46c208ac4b 订单管理 2020-08-22 16:08:20 +08:00
weihongyang
a5f5da8b79 Merge branch 'hy2250089' of http://47.96.183.77:3000/wms-parent-manage/mt-pms-api into hy2250089
 Conflicts:
	.idea/workspace.xml
	wms-parent.iml
2020-08-22 10:20:47 +08:00
weihongyang
f734f4392c commit init 2020-08-22 10:20:24 +08:00
14 changed files with 190 additions and 62 deletions

View File

@ -8,25 +8,20 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="3fd1674b-533b-4c0c-9ac3-bba39e6841ef" name="Default" comment="mark"> <list default="true" id="3fd1674b-533b-4c0c-9ac3-bba39e6841ef" name="Default" comment="mark">
<change afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapstruct/MtAloneByOrderInfoMapping.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/model/MtAloneByOrderInfoVo.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/libraries/Maven__org_mapstruct_mapstruct_1_1_0_Final.xml" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-parent.iml" beforeDir="false" afterPath="$PROJECT_DIR$/wms-parent.iml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-parent.iml" beforeDir="false" afterPath="$PROJECT_DIR$/wms-parent.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/pom.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/MtAloneByAShelfMapper.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/MtAloneByAShelfMapper.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/constant/ProduceManagePublicMethod.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/constant/ProduceManagePublicMethod.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/MtAloneByOrderInfoMapper.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/MtAloneByOrderInfoMapper.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/MtAloneByOrderInfoMapper.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/MtAloneByOrderInfoMapper.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/MtAloneByProductInfoMapper.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/dao/MtAloneByProductInfoMapper.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneByAShelfMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneByAShelfMapper.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneByOrderInfoMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneByOrderInfoMapper.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneByOrderInfoMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneByOrderInfoMapper.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneByProductInfoMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneByProductInfoMapper.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneByProductInfoMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/mapper/MtAloneByProductInfoMapper.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/model/MtAloneByOrderInfo.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/model/MtAloneByOrderInfo.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/model/MtAloneByOrderInfoParams.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/model/MtAloneByOrderInfoParams.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/model/MtAloneByOrderInfoParams.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/model/MtAloneByOrderInfoParams.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/MtAloneByAShelfService.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/MtAloneByAShelfService.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/MtAloneByOrderInfoService.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/MtAloneByOrderInfoService.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/MtAloneByOrderInfoService.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/MtAloneByOrderInfoService.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/MtAloneByProductInfoService.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/MtAloneByProductInfoService.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/impl/MtAloneByAShelfServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/impl/MtAloneByAShelfServiceImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/impl/MtAloneByOrderInfoServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/impl/MtAloneByOrderInfoServiceImpl.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/web/MtAloneByAShelfController.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/web/MtAloneByAShelfController.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/impl/MtAloneByProductInfoServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/service/impl/MtAloneByProductInfoServiceImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/web/MtAloneByOrderInfoController.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/web/MtAloneByOrderInfoController.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/web/MtAloneByOrderInfoController.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/web/MtAloneByOrderInfoController.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/web/MtAloneByProductInfoController.java" beforeDir="false" afterPath="$PROJECT_DIR$/wms-produce-manage/src/main/java/com/deer/wms/produce/manage/web/MtAloneByProductInfoController.java" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -95,7 +90,7 @@
<component name="MavenImportPreferences"> <component name="MavenImportPreferences">
<option name="generalSettings"> <option name="generalSettings">
<MavenGeneralSettings> <MavenGeneralSettings>
<option name="mavenHome" value="E:\idea\IntelliJ IDEA 2019.3.5\plugins\maven\lib\maven3" /> <option name="mavenHome" value="$APPLICATION_HOME_DIR$/plugins/maven/lib/maven3" />
</MavenGeneralSettings> </MavenGeneralSettings>
</option> </option>
</component> </component>
@ -156,7 +151,7 @@
<property name="project.structure.proportion" value="0.15" /> <property name="project.structure.proportion" value="0.15" />
<property name="project.structure.side.proportion" value="0.2" /> <property name="project.structure.side.proportion" value="0.2" />
<property name="restartRequiresConfirmation" value="false" /> <property name="restartRequiresConfirmation" value="false" />
<property name="settings.editor.selected.configurable" value="preferences.pluginManager" /> <property name="settings.editor.selected.configurable" value="editor.preferences.completion" />
</component> </component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CreateClassDialog.RecentsKey"> <key name="CreateClassDialog.RecentsKey">
@ -194,6 +189,19 @@
<option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" /> <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
<module /> <module />
</configuration> </configuration>
<configuration default="true" type="ArquillianTestNG" factoryName="" nameIsGenerated="true">
<option name="arquillianRunConfiguration">
<value>
<option name="containerStateName" value="" />
</value>
</option>
<option name="TEST_OBJECT" value="CLASS" />
<properties />
<listeners />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration name="CodeGenerator (1)" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true"> <configuration name="CodeGenerator (1)" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="generator.CodeGenerator" /> <option name="MAIN_CLASS_NAME" value="generator.CodeGenerator" />
<module name="wms-parent" /> <module name="wms-parent" />
@ -256,19 +264,6 @@
<option name="Make" enabled="true" /> <option name="Make" enabled="true" />
</method> </method>
</configuration> </configuration>
<configuration default="true" type="ArquillianTestNG" factoryName="" nameIsGenerated="true">
<option name="arquillianRunConfiguration">
<value>
<option name="containerStateName" value="" />
</value>
</option>
<option name="TEST_OBJECT" value="CLASS" />
<properties />
<listeners />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
<configuration default="true" type="JUnit" factoryName="JUnit"> <configuration default="true" type="JUnit" factoryName="JUnit">
<option name="TEST_OBJECT" value="class" /> <option name="TEST_OBJECT" value="class" />
<option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" /> <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
@ -324,13 +319,11 @@
<item itemvalue="Application.ProductProcessBatchDetServiceImpl" /> <item itemvalue="Application.ProductProcessBatchDetServiceImpl" />
<item itemvalue="Application.CodeGenerator" /> <item itemvalue="Application.CodeGenerator" />
<item itemvalue="Application.CodeGenerator (1)" /> <item itemvalue="Application.CodeGenerator (1)" />
<item itemvalue="Spring Boot.PmsApplication" />
<item itemvalue="Application.Test" /> <item itemvalue="Application.Test" />
</list> </list>
<recent_temporary> <recent_temporary>
<list> <list>
<item itemvalue="Application.Test" /> <item itemvalue="Application.Test" />
<item itemvalue="Spring Boot.PmsApplication" />
<item itemvalue="Application.CodeGenerator (1)" /> <item itemvalue="Application.CodeGenerator (1)" />
<item itemvalue="Application.CodeGenerator" /> <item itemvalue="Application.CodeGenerator" />
<item itemvalue="Application.ProductProcessBatchDetServiceImpl" /> <item itemvalue="Application.ProductProcessBatchDetServiceImpl" />
@ -582,10 +575,13 @@
<screen x="0" y="0" width="1920" height="1050" /> <screen x="0" y="0" width="1920" height="1050" />
</state> </state>
<state x="513" y="309" key="#com.intellij.fileTypes.FileTypeChooser/0.0.1920.1050/-1920.0.1920.1050@0.0.1920.1050" timestamp="1597710642111" /> <state x="513" y="309" key="#com.intellij.fileTypes.FileTypeChooser/0.0.1920.1050/-1920.0.1920.1050@0.0.1920.1050" timestamp="1597710642111" />
<state x="765" y="223" key="#com.intellij.ide.util.MemberChooser" timestamp="1597999710196"> <state x="510" y="134" key="#com.intellij.ide.util.MemberChooser" timestamp="1598080677329">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="23" width="1280" height="732" />
</state> </state>
<state x="765" y="223" key="#com.intellij.ide.util.MemberChooser/0.0.1920.1040@0.0.1920.1040" timestamp="1597999710196" /> <state x="765" y="223" key="#com.intellij.ide.util.MemberChooser/0.0.1920.1040@0.0.1920.1040" timestamp="1597999710196" />
<state x="510" y="133" key="#com.intellij.ide.util.MemberChooser/0.23.1280.728@0.23.1280.728" timestamp="1598069502140" />
<state x="510" y="134" key="#com.intellij.ide.util.MemberChooser/0.23.1280.729@0.23.1280.729" timestamp="1598067919088" />
<state x="510" y="134" key="#com.intellij.ide.util.MemberChooser/0.23.1280.732@0.23.1280.732" timestamp="1598080677329" />
<state x="389" y="0" key="CommitChangelistDialog2" timestamp="1597718387821"> <state x="389" y="0" key="CommitChangelistDialog2" timestamp="1597718387821">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
@ -624,14 +620,27 @@
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="0" width="1920" height="1040" />
</state> </state>
<state x="490" y="174" key="Maven.ArtifactSearchDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1597988929076" /> <state x="490" y="174" key="Maven.ArtifactSearchDialog/0.0.1920.1040@0.0.1920.1040" timestamp="1597988929076" />
<state x="366" y="78" key="SettingsEditor" timestamp="1597481540846"> <state x="244" y="31" key="SettingsEditor" timestamp="1598070794880">
<screen x="0" y="0" width="1920" height="1040" /> <screen x="0" y="23" width="1280" height="730" />
</state> </state>
<state x="366" y="78" key="SettingsEditor/0.0.1920.1040@0.0.1920.1040" timestamp="1597481540846" /> <state x="366" y="78" key="SettingsEditor/0.0.1920.1040@0.0.1920.1040" timestamp="1597481540846" />
<state x="244" y="31" key="SettingsEditor/0.23.1280.730@0.23.1280.730" timestamp="1598070794880" />
<state x="452" y="193" key="Vcs.Push.Dialog.v2" timestamp="1597717645717"> <state x="452" y="193" key="Vcs.Push.Dialog.v2" timestamp="1597717645717">
<screen x="0" y="0" width="1920" height="1050" /> <screen x="0" y="0" width="1920" height="1050" />
</state> </state>
<state x="452" y="193" key="Vcs.Push.Dialog.v2/0.0.1920.1050/-1920.0.1920.1050@0.0.1920.1050" timestamp="1597717645717" /> <state x="452" y="193" key="Vcs.Push.Dialog.v2/0.0.1920.1050/-1920.0.1920.1050@0.0.1920.1050" timestamp="1597717645717" />
<state x="121" y="23" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser" timestamp="1598079461206">
<screen x="0" y="23" width="1280" height="732" />
</state>
<state x="121" y="23" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser/0.23.1280.732@0.23.1280.732" timestamp="1598079461206" />
<state x="424" y="165" key="refactoring.ChangeSignatureDialog" timestamp="1598081009986">
<screen x="0" y="23" width="1280" height="732" />
</state>
<state x="424" y="165" key="refactoring.ChangeSignatureDialog/0.23.1280.732@0.23.1280.732" timestamp="1598081009986" />
<state x="305" y="77" key="search.everywhere.popup" timestamp="1598075207299">
<screen x="0" y="23" width="1280" height="730" />
</state>
<state x="305" y="77" key="search.everywhere.popup/0.23.1280.730@0.23.1280.730" timestamp="1598075207299" />
</component> </component>
<component name="antWorkspaceConfiguration"> <component name="antWorkspaceConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" /> <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />

View File

@ -10,6 +10,15 @@
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Maven: com.deer:wms-system-manage:1.0.0-SNAPSHOT" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.deer:wms-file:1.0.0-SNAPSHOT" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.deer:wms-message:1.0.0-SNAPSHOT" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.deer:wms-bill-manage:1.0.0-SNAPSHOT" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.deer:wms-report:1.0.0-SNAPSHOT" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: eu.bitwalker:UserAgentUtils:1.20" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.deer:wms-base-system:1.0.0-SNAPSHOT" level="project" />
<orderEntry type="library" name="Maven: org.mapstruct:mapstruct:1.3.0.Final" level="project" />
<orderEntry type="library" name="Maven: org.mapstruct:mapstruct-processor:1.3.0.Final" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.deer:wms-project-seed:1.0.0-SNAPSHOT" level="project" /> <orderEntry type="library" scope="TEST" name="Maven: com.deer:wms-project-seed:1.0.0-SNAPSHOT" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.squareup.okhttp:okhttp:2.7.5" level="project" /> <orderEntry type="library" scope="TEST" name="Maven: com.squareup.okhttp:okhttp:2.7.5" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.squareup.okio:okio:1.6.0" level="project" /> <orderEntry type="library" scope="TEST" name="Maven: com.squareup.okio:okio:1.6.0" level="project" />
@ -95,7 +104,7 @@
<orderEntry type="module-library"> <orderEntry type="module-library">
<library name="Maven: com.alibaba:jconsole:1.8.0"> <library name="Maven: com.alibaba:jconsole:1.8.0">
<CLASSES> <CLASSES>
<root url="jar://C:/Program Files/Java/jdk1.8.0_251/lib/jconsole.jar!/" /> <root url="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/lib/jconsole.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />
@ -104,7 +113,7 @@
<orderEntry type="module-library"> <orderEntry type="module-library">
<library name="Maven: com.alibaba:tools:1.8.0"> <library name="Maven: com.alibaba:tools:1.8.0">
<CLASSES> <CLASSES>
<root url="jar://C:/Program Files/Java/jdk1.8.0_251/lib/tools.jar!/" /> <root url="jar:///Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home/lib/tools.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />

View File

@ -2,5 +2,9 @@ package com.deer.wms.produce.manage.dao;
import com.deer.wms.produce.manage.model.MtAloneByAShelf; import com.deer.wms.produce.manage.model.MtAloneByAShelf;
import com.deer.wms.project.seed.core.mapper.Mapper; import com.deer.wms.project.seed.core.mapper.Mapper;
import java.util.List;
public interface MtAloneByAShelfMapper extends Mapper<MtAloneByAShelf> { public interface MtAloneByAShelfMapper extends Mapper<MtAloneByAShelf> {
List<MtAloneByAShelf> getAllByShelfStatus(MtAloneByAShelf aShelfStatus);
} }

View File

@ -2,7 +2,6 @@ package com.deer.wms.produce.manage.dao;
import com.deer.wms.produce.manage.model.MtAloneByOrderInfo; import com.deer.wms.produce.manage.model.MtAloneByOrderInfo;
import com.deer.wms.produce.manage.model.MtAloneByOrderInfoParams; import com.deer.wms.produce.manage.model.MtAloneByOrderInfoParams;
import com.deer.wms.produce.manage.model.MtAloneByOrderInfoVo;
import com.deer.wms.project.seed.core.mapper.Mapper; import com.deer.wms.project.seed.core.mapper.Mapper;
import java.util.List; import java.util.List;

View File

@ -14,4 +14,11 @@
<result column="a_shelf_name" jdbcType="VARCHAR" property="aShelfName" /> <result column="a_shelf_name" jdbcType="VARCHAR" property="aShelfName" />
<result column="note" jdbcType="VARCHAR" property="note" /> <result column="note" jdbcType="VARCHAR" property="note" />
</resultMap> </resultMap>
<select id="getAllByShelfStatus" parameterType="Integer" resultMap="BaseResultMap">
SELECT *
FROM mt_alone_by_a_shelf
WHERE a_shelf_status = #{aShelfStatus}
AND company_id = #{companyId}
</select>
</mapper> </mapper>

View File

@ -49,6 +49,7 @@
<if test="companyId != null"> <if test="companyId != null">
AND mappb.company_id = #{companyId} AND mappb.company_id = #{companyId}
</if> </if>
AND order_status = 0
</where> </where>
</select> </select>
</mapper> </mapper>

View File

@ -44,5 +44,6 @@
SELECT * SELECT *
FROM mt_alone_by_product_info FROM mt_alone_by_product_info
WHERE order_info_id = #{id} WHERE order_info_id = #{id}
AND product_status = 0
</select> </select>
</mapper> </mapper>

View File

@ -2,6 +2,8 @@ package com.deer.wms.produce.manage.model;
import com.deer.wms.project.seed.core.service.QueryParams; import com.deer.wms.project.seed.core.service.QueryParams;
import java.util.List;
/** /**
* Created by on 2020/08/18. * Created by on 2020/08/18.
*/ */
@ -11,6 +13,12 @@ public class MtAloneByOrderInfoParams extends QueryParams {
private String endTime; private String endTime;
private Integer id;
private MtAloneByOrderInfo mtAloneByOrderInfo;
private List<MtAloneByProductInfo> mtAloneByProductInfoList;
public String getBeginTime() { public String getBeginTime() {
return beginTime; return beginTime;
} }
@ -26,4 +34,28 @@ public class MtAloneByOrderInfoParams extends QueryParams {
public void setEndTime(String endTime) { public void setEndTime(String endTime) {
this.endTime = endTime; this.endTime = endTime;
} }
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public MtAloneByOrderInfo getMtAloneByOrderInfo() {
return mtAloneByOrderInfo;
}
public void setMtAloneByOrderInfo(MtAloneByOrderInfo mtAloneByOrderInfo) {
this.mtAloneByOrderInfo = mtAloneByOrderInfo;
}
public List<MtAloneByProductInfo> getMtAloneByProductInfoList() {
return mtAloneByProductInfoList;
}
public void setMtAloneByProductInfoList(List<MtAloneByProductInfo> mtAloneByProductInfoList) {
this.mtAloneByProductInfoList = mtAloneByProductInfoList;
}
} }

View File

@ -1,7 +1,6 @@
package com.deer.wms.produce.manage.service; package com.deer.wms.produce.manage.service;
import com.deer.wms.produce.manage.model.MtAloneByAShelf; import com.deer.wms.produce.manage.model.MtAloneByAShelf;
import com.deer.wms.produce.manage.model.MtAloneByAShelfParams;
import com.deer.wms.project.seed.core.service.Service; import com.deer.wms.project.seed.core.service.Service;
import java.util.List; import java.util.List;
@ -11,6 +10,6 @@ import java.util.List;
*/ */
public interface MtAloneByAShelfService extends Service<MtAloneByAShelf, Integer> { public interface MtAloneByAShelfService extends Service<MtAloneByAShelf, Integer> {
List<MtAloneByAShelf> getAllByShelfStatus(MtAloneByAShelf mtAloneByAShelf);
} }

View File

@ -14,4 +14,6 @@ public interface MtAloneByOrderInfoService extends Service<MtAloneByOrderInfo, I
List<MtAloneByOrderInfo> findList(MtAloneByOrderInfoParams params); List<MtAloneByOrderInfo> findList(MtAloneByOrderInfoParams params);
MtAloneByOrderInfo findByIdStatus(Integer id);
} }

View File

@ -2,7 +2,6 @@ package com.deer.wms.produce.manage.service.impl;
import com.deer.wms.produce.manage.dao.MtAloneByAShelfMapper; import com.deer.wms.produce.manage.dao.MtAloneByAShelfMapper;
import com.deer.wms.produce.manage.model.MtAloneByAShelf; import com.deer.wms.produce.manage.model.MtAloneByAShelf;
import com.deer.wms.produce.manage.model.MtAloneByAShelfParams;
import com.deer.wms.produce.manage.service.MtAloneByAShelfService; import com.deer.wms.produce.manage.service.MtAloneByAShelfService;
import com.deer.wms.project.seed.core.service.AbstractService; import com.deer.wms.project.seed.core.service.AbstractService;
@ -22,5 +21,8 @@ public class MtAloneByAShelfServiceImpl extends AbstractService<MtAloneByAShelf,
private MtAloneByAShelfMapper mtAloneByAShelfMapper; private MtAloneByAShelfMapper mtAloneByAShelfMapper;
@Override
public List<MtAloneByAShelf> getAllByShelfStatus(MtAloneByAShelf mtAloneByAShelf) {
return mtAloneByAShelfMapper.getAllByShelfStatus(mtAloneByAShelf);
}
} }

View File

@ -29,7 +29,7 @@ import java.util.List;
/** /**
* Created by on 2020/08/18. * Created by on 2020/08/18.
*/ */
@Api(description = "xxx接口") @Api(description = "A字架接口")
@RestController @RestController
@RequestMapping("/mt/alone/by/a/shelfs") @RequestMapping("/mt/alone/by/a/shelfs")
public class MtAloneByAShelfController { public class MtAloneByAShelfController {
@ -90,4 +90,19 @@ public class MtAloneByAShelfController {
return ResultGenerator.genSuccessResult(pageInfo); return ResultGenerator.genSuccessResult(pageInfo);
} }
/**
* 查询全部可用的a子架
*/
@PostMapping("/get/all/by/shelf/status")
public Result getAllByShelfStatus(@ApiIgnore @User CurrentUser currentUser){
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
MtAloneByAShelf mtAloneByAShelf = new MtAloneByAShelf();
mtAloneByAShelf.setCompanyId(currentUser.getCompanyId());
mtAloneByAShelf.setaShelfStatus(0);
List<MtAloneByAShelf> list = mtAloneByAShelfService.getAllByShelfStatus(mtAloneByAShelf);
return ResultGenerator.genSuccessResult(list);
}
} }

View File

@ -59,22 +59,27 @@ public class MtAloneByOrderInfoController {
@Autowired @Autowired
private MtAloneByOrderInfoMapping mtAloneByOrderInfoMapping; private MtAloneByOrderInfoMapping mtAloneByOrderInfoMapping;
@OperateLog(description = "添加xxx", type = "增加") @OperateLog(description = "添加订单", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx") @ApiOperation(value = "添加订单", notes = "添加订单")
@PostMapping("/add") @PostMapping("/add")
public Result add(@RequestBody MtAloneByOrderInfo mtAloneByOrderInfo, @ApiIgnore @User CurrentUser currentUser) { public Result add(@RequestBody MtAloneByOrderInfoParams mtAloneByOrderInfoParams, @ApiIgnore @User CurrentUser currentUser) {
if(currentUser==null){ if(currentUser==null){
return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null ); return ResultGenerator.genFailResult( CommonCode.SERVICE_ERROR,"未登录错误",null );
} }
mtAloneByOrderInfo.setCreateTime(new Date()); mtAloneByOrderInfoParams.getMtAloneByOrderInfo().setCreateTime(new Date());
mtAloneByOrderInfo.setCompanyId(currentUser.getCompanyId()); mtAloneByOrderInfoParams.getMtAloneByOrderInfo().setCompanyId(currentUser.getCompanyId());
mtAloneByOrderInfoService.save(mtAloneByOrderInfo); mtAloneByOrderInfoService.save(mtAloneByOrderInfoParams.getMtAloneByOrderInfo());
for (MtAloneByProductInfo mtAloneByProductInfo:mtAloneByOrderInfoParams.getMtAloneByProductInfoList()) {
mtAloneByProductInfo.setCreateTime(new Date());
mtAloneByProductInfo.setCompanyId(currentUser.getCompanyId());
}
mtAloneByProductInfoService.save(mtAloneByOrderInfoParams.getMtAloneByProductInfoList());
return ResultGenerator.genSuccessResult(); return ResultGenerator.genSuccessResult();
} }
@OperateLog(description = "删除订单", type = "删除") @OperateLog(description = "删除订单", type = "删除")
@ApiOperation(value = "删除订单", notes = "删除订单") @ApiOperation(value = "删除订单", notes = "删除订单")
@DeleteMapping("/delete/{id}") @PostMapping("/delete/{id}")
public Result delete(@PathVariable Integer Id) { public Result delete(@PathVariable Integer Id) {
mtAloneByProductInfoService.deleteByOrderInfoId(Id); mtAloneByProductInfoService.deleteByOrderInfoId(Id);
mtAloneByOrderInfoService.deleteById(Id); mtAloneByOrderInfoService.deleteById(Id);
@ -83,32 +88,54 @@ public class MtAloneByOrderInfoController {
/** /**
* 修改保存 * 修改保存
* @param mtAloneByOrderInfo * @param mtAloneByOrderInfoParams
* @return * @return
*/ */
@OperateLog(description = "修改订单", type = "更新") @OperateLog(description = "修改订单", type = "更新")
@ApiOperation(value = "修改订单", notes = "修改订单") @ApiOperation(value = "修改订单", notes = "修改订单")
@PostMapping("/update") @PostMapping("/update")
public Result update(@RequestBody MtAloneByOrderInfo mtAloneByOrderInfo) { public Result update(@RequestBody MtAloneByOrderInfoParams mtAloneByOrderInfoParams) {
mtAloneByOrderInfo.setUpdateTime(new Date()); mtAloneByOrderInfoParams.getMtAloneByOrderInfo().setUpdateTime(new Date());
mtAloneByOrderInfoService.update(mtAloneByOrderInfo); mtAloneByOrderInfoService.update(mtAloneByOrderInfoParams.getMtAloneByOrderInfo());
for (MtAloneByProductInfo mtAloneByProductInfo:mtAloneByOrderInfoParams.getMtAloneByProductInfoList()) {
mtAloneByProductInfo.setUpdateTime(new Date());
mtAloneByProductInfoService.update(mtAloneByProductInfo);
}
return ResultGenerator.genSuccessResult(); return ResultGenerator.genSuccessResult();
} }
/** /**
* 修改订单获取修改的数据并填充 * 根据订单id查询出来产品信息并且分页
* @param id * @param
* @return * @return
*/ */
@GetMapping("/update/for/data/{id}") @GetMapping("/update/for/product/info")
public Result updateForData(@PathVariable Integer id){ public Result updateForProductInfo(MtAloneByOrderInfoParams params, @ApiIgnore @User CurrentUser currentUser){
MtAloneByOrderInfo mtAloneByOrderInfo = mtAloneByOrderInfoService.findById(id); if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
if (currentUser.getCompanyType() != SystemManageConstant.COMPANY_TYPE_MT){
params.setCompanyId(currentUser.getCompanyId());
}else{
params.setCompanyId(null);
}
PageHelper.startPage(params.getPageNum(), params.getPageSize());
List<MtAloneByProductInfo> mtAloneByProductInfoList = mtAloneByProductInfoService.findByOrderInfoId(params.getId());
PageInfo pageInfo = new PageInfo(mtAloneByProductInfoList);
/*MtAloneByOrderInfo mtAloneByOrderInfo = mtAloneByOrderInfoService.findById(id);
List<MtAloneByProductInfo> mtAloneByProductInfos = mtAloneByProductInfoService.findByOrderInfoId(id); List<MtAloneByProductInfo> mtAloneByProductInfos = mtAloneByProductInfoService.findByOrderInfoId(id);
MtAloneByOrderInfoVo mtAloneByOrderInfoVo = mtAloneByOrderInfoMapping.MtAloneByOrderInfoToMtAloneByOrderInfoVo(mtAloneByOrderInfo); MtAloneByOrderInfoVo mtAloneByOrderInfoVo = mtAloneByOrderInfoMapping.MtAloneByOrderInfoToMtAloneByOrderInfoVo(mtAloneByOrderInfo);
mtAloneByOrderInfoVo.setMtAloneByProductInfos(mtAloneByProductInfos); mtAloneByOrderInfoVo.setMtAloneByProductInfos(mtAloneByProductInfos);
return ResultGenerator.genSuccessResult(mtAloneByOrderInfoVo); */
return ResultGenerator.genSuccessResult(pageInfo);
} }
/**
* 根据订单id查询出来订单详情
* @param id
* @return
*/
@GetMapping("/detail/{id}") @GetMapping("/detail/{id}")
public Result detail(@PathVariable Integer id) { public Result detail(@PathVariable Integer id) {
MtAloneByOrderInfo mtAloneByOrderInfo = mtAloneByOrderInfoService.findById(id); MtAloneByOrderInfo mtAloneByOrderInfo = mtAloneByOrderInfoService.findById(id);

View File

@ -1,5 +1,9 @@
package com.deer.wms.produce.manage.web; package com.deer.wms.produce.manage.web;
import com.deer.wms.base.system.model.MtAloneProductLibrary;
import com.deer.wms.base.system.model.MtAloneProductLibraryParams;
import com.deer.wms.base.system.service.MtAloneProductLibraryService;
import com.deer.wms.base.system.web.MtAloneProductLibraryController;
import com.deer.wms.produce.manage.model.MtAloneByAShelf; import com.deer.wms.produce.manage.model.MtAloneByAShelf;
import com.deer.wms.project.seed.annotation.OperateLog; import com.deer.wms.project.seed.annotation.OperateLog;
import com.deer.wms.project.seed.constant.SystemManageConstant; import com.deer.wms.project.seed.constant.SystemManageConstant;
@ -30,7 +34,7 @@ import java.util.List;
/** /**
* Created by on 2020/08/18. * Created by on 2020/08/18.
*/ */
@Api(description = "xxx接口") @Api(description = "产品信息接口")
@RestController @RestController
@RequestMapping("/mt/alone/by/product/infos") @RequestMapping("/mt/alone/by/product/infos")
public class MtAloneByProductInfoController { public class MtAloneByProductInfoController {
@ -38,6 +42,9 @@ public class MtAloneByProductInfoController {
@Autowired @Autowired
private MtAloneByProductInfoService mtAloneByProductInfoService; private MtAloneByProductInfoService mtAloneByProductInfoService;
@Autowired
private MtAloneProductLibraryService mtAloneProductLibraryService;
@OperateLog(description = "添加xxx", type = "增加") @OperateLog(description = "添加xxx", type = "增加")
@ApiOperation(value = "添加xxx", notes = "添加xxx") @ApiOperation(value = "添加xxx", notes = "添加xxx")
@PostMapping("/add") @PostMapping("/add")
@ -59,8 +66,8 @@ public class MtAloneByProductInfoController {
return ResultGenerator.genSuccessResult(); return ResultGenerator.genSuccessResult();
} }
@OperateLog(description = "修改xxx", type = "更新") @OperateLog(description = "修改产品信息", type = "更新")
@ApiOperation(value = "修改xxx", notes = "修改xxx") @ApiOperation(value = "修改产品信息", notes = "修改产品信息")
@PostMapping("/update") @PostMapping("/update")
public Result update(@RequestBody MtAloneByProductInfo mtAloneByProductInfo) { public Result update(@RequestBody MtAloneByProductInfo mtAloneByProductInfo) {
mtAloneByProductInfo.setUpdateTime(new Date()); mtAloneByProductInfo.setUpdateTime(new Date());
@ -92,4 +99,18 @@ public class MtAloneByProductInfoController {
return ResultGenerator.genSuccessResult(pageInfo); return ResultGenerator.genSuccessResult(pageInfo);
} }
/**
* 根据公司id获取到产品池的全部产品
*/
@PostMapping("/get/product/library")
public Result getProductLibrary(@ApiIgnore @User CurrentUser currentUser){
if(currentUser==null){
return ResultGenerator.genFailResult(CommonCode.SERVICE_ERROR,"未登录错误",null );
}
MtAloneProductLibraryParams mtAloneProductLibraryParams = new MtAloneProductLibraryParams();
mtAloneProductLibraryParams.setCompanyId(currentUser.getCompanyId());
List<MtAloneProductLibrary> list = mtAloneProductLibraryService.findList(mtAloneProductLibraryParams);
return ResultGenerator.genSuccessResult(list);
}
} }