Commit 1d0e140c authored by 王航's avatar 王航

1

parent a468a6d0
...@@ -7,17 +7,10 @@ ...@@ -7,17 +7,10 @@
<sourceOutputDir name="target/generated-sources/annotations" /> <sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
<outputRelativeToContentRoot value="true" /> <outputRelativeToContentRoot value="true" />
<module name="huigou-xt" />
<module name="topsun" /> <module name="topsun" />
<module name="topsun-xt" /> <module name="topsun-xt" />
<module name="huigou-xt" />
</profile> </profile>
</annotationProcessing> </annotationProcessing>
<bytecodeTargetLevel>
<module name="SSRF" target="1.5" />
<module name="ssrf-Project" target="1.5" />
<module name="test" target="1.8" />
<module name="topsun-project" target="1.5" />
<module name="topsun-Project" target="1.5" />
</bytecodeTargetLevel>
</component> </component>
</project> </project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8"> <component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8">
<file url="file://$APPLICATION_HOME_DIR$/jbr/bin/src/main/java" charset="UTF-8" />
<file url="file://$APPLICATION_HOME_DIR$/jbr/bin/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/huigou-xt/src/main/resources" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/huigou-xt/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/test/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/test/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/topsun-xt/src/main/resources" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/topsun-xt/src/main/resources" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/topsun/src/main/java" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/topsun/src/main/java" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/topsun/src/main/resources" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/topsun/src/main/resources" charset="UTF-8" />
......
...@@ -16,11 +16,6 @@ ...@@ -16,11 +16,6 @@
<option value="$PROJECT_DIR$/topsun-xt/pom.xml" /> <option value="$PROJECT_DIR$/topsun-xt/pom.xml" />
</list> </list>
</option> </option>
<option name="ignoredFiles">
<set>
<option value="$PROJECT_DIR$/test/pom.xml" />
</set>
</option>
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK" /> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
</project> </project>
\ No newline at end of file
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<div class="container-fluid" style="padding: 10px;"> <div class="container-fluid" style="padding: 10px;">
<form class="hg-form" method="post" action="" id="submitForm"> <form class="hg-form" method="post" action="" id="submitForm">
<div><h3>基本信息</h3></div> <div><h3>基本信息</h3></div>
<div style="margin: 22px;border: 1px solid black;"> <div style="margin: 10px;">
<div class="hg-form-cols"> <div class="hg-form-cols">
<x:inputC name="proofingMakeNo" label="指导书编号" labelCol="2" fieldCol="2"/> <x:inputC name="proofingMakeNo" label="指导书编号" labelCol="2" fieldCol="2"/>
...@@ -43,7 +43,6 @@ ...@@ -43,7 +43,6 @@
fieldCol="2"/> fieldCol="2"/>
<x:inputC name="isBodyColor" label="是否不考虑形体配色" maxLength="32" labelCol="2" <x:inputC name="isBodyColor" label="是否不考虑形体配色" maxLength="32" labelCol="2"
fieldCol="2"/> fieldCol="2"/>
</div> </div>
</div> </div>
......
...@@ -17,7 +17,7 @@ public interface ProofingApplyApplication { ...@@ -17,7 +17,7 @@ public interface ProofingApplyApplication {
List<ProofingApply> getProofingApplyList(); List<ProofingApply> getProofingApplyList();
ProofingApply getProofingApplyByProofingApplyNo(String proofingApplyNo); ProofingApplyAndLookedVo getProofingApplyByProofingApplyNo(String proofingApplyNo);
/** /**
* 根据ProofingApply获得样品和产品外观信息 * 根据ProofingApply获得样品和产品外观信息
......
...@@ -121,8 +121,9 @@ public class ProofingApplyApplicationImpl extends FlowBroker implements Proofing ...@@ -121,8 +121,9 @@ public class ProofingApplyApplicationImpl extends FlowBroker implements Proofing
} }
@Override @Override
public ProofingApply getProofingApplyByProofingApplyNo(String proofingApplyNo) { public ProofingApplyAndLookedVo getProofingApplyByProofingApplyNo(String proofingApplyNo) {
return proofingApplyRepository.findByProofingApplyNo(proofingApplyNo); ProofingApply proofingApply = proofingApplyRepository.findByProofingApplyNo(proofingApplyNo);
return this.getProofingApplyAndLookedVoByPAId(proofingApply.getId());
} }
......
...@@ -3,6 +3,7 @@ package com.huigou.topsun.proofing.controller; ...@@ -3,6 +3,7 @@ package com.huigou.topsun.proofing.controller;
import com.huigou.topsun.proofing.application.ProofingApplyApplication; import com.huigou.topsun.proofing.application.ProofingApplyApplication;
import com.huigou.topsun.proofing.domain.model.ProofingApply; import com.huigou.topsun.proofing.domain.model.ProofingApply;
import com.huigou.topsun.proofing.domain.vo.ProofingApplyAndLookedVo;
import com.huigou.topsun.proofing.domain.vo.ProofingMakeVo; import com.huigou.topsun.proofing.domain.vo.ProofingMakeVo;
import com.huigou.topsun.proofing.service.ProofingMakeService; import com.huigou.topsun.proofing.service.ProofingMakeService;
...@@ -94,10 +95,14 @@ public class ProofingMakeController extends CommonController { ...@@ -94,10 +95,14 @@ public class ProofingMakeController extends CommonController {
return success(); return success();
} }
/**
* 根据测试单号回显相关数据
* @return
*/
public String queryProofingApply(){ public String queryProofingApply(){
SDO sdo = this.getSDO(); SDO sdo = this.getSDO();
String proofingApplyNo = sdo.getString("proofingApplyNo"); String proofingApplyNo = sdo.getString("proofingApplyNo");
ProofingApply proofingApply = proofingApplyApplication.getProofingApplyByProofingApplyNo(proofingApplyNo); ProofingApplyAndLookedVo proofingApplyAndLookedVo = proofingApplyApplication.getProofingApplyByProofingApplyNo(proofingApplyNo);
return toResult(proofingApply); return toResult(proofingApplyAndLookedVo);
} }
} }
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<configuration> <configuration>
<setting name="validation-enabled" value="true" /> <setting name="validation-enabled" value="true" />
<datasource-mapping> <datasource-mapping>
<factory-entry name="Entities" />
<factory-entry name="topsun" /> <factory-entry name="topsun" />
</datasource-mapping> </datasource-mapping>
<naming-strategy-map /> <naming-strategy-map />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment