修改附件上传接口,校验是否上传成功

master
白美平 1 month ago
parent 27c1995aa7
commit 41a4a5ece1

@ -10,9 +10,10 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="29bcb86b-1634-41e0-a498-79481163cba8" name="Changes" comment="解决轮播图查询报错的问题">
<list default="true" id="29bcb86b-1634-41e0-a498-79481163cba8" name="Changes" comment="修改附件上传接口,校验是否上传成功">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/nmgs/service/impl/QCodeInfoServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/nmgs/service/impl/QCodeInfoServiceImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/nmgs/service/impl/IntegralSignServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/nmgs/service/impl/IntegralSignServiceImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/nmgs/service/impl/ServiceAreaServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/nmgs/service/impl/ServiceAreaServiceImpl.java" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -77,65 +78,65 @@
<component name="ProjectViewState">
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;ASKED_SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;Application.DivPassDataImpl.executor&quot;: &quot;Run&quot;,
&quot;Application.ImageUtils.executor&quot;: &quot;Run&quot;,
&quot;Application.OcrUtil.executor&quot;: &quot;Debug&quot;,
&quot;Application.PubTools.executor&quot;: &quot;Run&quot;,
&quot;Application.QCodeInfoServiceImpl.executor&quot;: &quot;Debug&quot;,
&quot;Application.SensitiveFilter.executor&quot;: &quot;Run&quot;,
&quot;Application.main.executor&quot;: &quot;Run&quot;,
&quot;Application.redisConfigUtil.executor&quot;: &quot;Debug&quot;,
&quot;Maven.IntegraManager [clean].executor&quot;: &quot;Run&quot;,
&quot;Maven.IntegraManager [install].executor&quot;: &quot;Run&quot;,
&quot;Maven.IntegralManager [clean].executor&quot;: &quot;Run&quot;,
&quot;Maven.IntegralManager [install].executor&quot;: &quot;Run&quot;,
&quot;Maven.IntegralManager [site].executor&quot;: &quot;Run&quot;,
&quot;Maven.IntegralManager [validate].executor&quot;: &quot;Run&quot;,
&quot;Maven.IntegralManager [verify].executor&quot;: &quot;Run&quot;,
&quot;Maven.IntegralManagerSys [clean].executor&quot;: &quot;Run&quot;,
&quot;Maven.IntegralManagerSys [install].executor&quot;: &quot;Run&quot;,
&quot;Maven.devProject [clean].executor&quot;: &quot;Run&quot;,
&quot;Maven.devProject [install].executor&quot;: &quot;Run&quot;,
&quot;Maven.dev_project [clean].executor&quot;: &quot;Run&quot;,
&quot;Maven.dev_project [install].executor&quot;: &quot;Run&quot;,
&quot;Maven.special_event [clean].executor&quot;: &quot;Run&quot;,
&quot;Maven.special_event [install].executor&quot;: &quot;Run&quot;,
&quot;Maven.special_event [org.apache.maven.plugins:maven-assembly-plugin:3.3.0:single].executor&quot;: &quot;Run&quot;,
&quot;Maven.special_event [org.springframework.boot:spring-boot-maven-plugin:2.7.11:repackage].executor&quot;: &quot;Run&quot;,
&quot;Maven.special_event [package].executor&quot;: &quot;Run&quot;,
&quot;Maven.special_event [validate].executor&quot;: &quot;Run&quot;,
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.go.formatter.settings.were.checked&quot;: &quot;true&quot;,
&quot;RunOnceActivity.go.migrated.go.modules.settings&quot;: &quot;true&quot;,
&quot;SHARE_PROJECT_CONFIGURATION_FILES&quot;: &quot;true&quot;,
&quot;TomEE Server.special_event.executor&quot;: &quot;Debug&quot;,
&quot;Tomcat Server.Tomcat 9.0.80.executor&quot;: &quot;Debug&quot;,
&quot;deletionFromPopupRequiresConfirmation&quot;: &quot;false&quot;,
&quot;git-widget-placeholder&quot;: &quot;master&quot;,
&quot;go.import.settings.migrated&quot;: &quot;true&quot;,
&quot;kotlin-language-version-configured&quot;: &quot;true&quot;,
&quot;last_opened_file_path&quot;: &quot;D:/workspace/IntegralManager&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;project.structure.last.edited&quot;: &quot;Artifacts&quot;,
&quot;project.structure.proportion&quot;: &quot;0.15&quot;,
&quot;project.structure.side.proportion&quot;: &quot;0.37169158&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;reference.settings.project.maven.importing&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
"Application.DivPassDataImpl.executor": "Run",
"Application.ImageUtils.executor": "Run",
"Application.OcrUtil.executor": "Debug",
"Application.PubTools.executor": "Run",
"Application.QCodeInfoServiceImpl.executor": "Debug",
"Application.SensitiveFilter.executor": "Run",
"Application.main.executor": "Run",
"Application.redisConfigUtil.executor": "Debug",
"Maven.IntegraManager [clean].executor": "Run",
"Maven.IntegraManager [install].executor": "Run",
"Maven.IntegralManager [clean].executor": "Run",
"Maven.IntegralManager [install].executor": "Run",
"Maven.IntegralManager [site].executor": "Run",
"Maven.IntegralManager [validate].executor": "Run",
"Maven.IntegralManager [verify].executor": "Run",
"Maven.IntegralManagerSys [clean].executor": "Run",
"Maven.IntegralManagerSys [install].executor": "Run",
"Maven.devProject [clean].executor": "Run",
"Maven.devProject [install].executor": "Run",
"Maven.dev_project [clean].executor": "Run",
"Maven.dev_project [install].executor": "Run",
"Maven.special_event [clean].executor": "Run",
"Maven.special_event [install].executor": "Run",
"Maven.special_event [org.apache.maven.plugins:maven-assembly-plugin:3.3.0:single].executor": "Run",
"Maven.special_event [org.springframework.boot:spring-boot-maven-plugin:2.7.11:repackage].executor": "Run",
"Maven.special_event [package].executor": "Run",
"Maven.special_event [validate].executor": "Run",
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.go.formatter.settings.were.checked": "true",
"RunOnceActivity.go.migrated.go.modules.settings": "true",
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
"TomEE Server.special_event.executor": "Debug",
"Tomcat Server.Tomcat 9.0.80.executor": "Debug",
"deletionFromPopupRequiresConfirmation": "false",
"git-widget-placeholder": "master",
"go.import.settings.migrated": "true",
"kotlin-language-version-configured": "true",
"last_opened_file_path": "D:/workspace/IntegralManager",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
"project.structure.last.edited": "Modules",
"project.structure.proportion": "0.15",
"project.structure.side.proportion": "0.37169158",
"settings.editor.selected.configurable": "vcs.Subversion",
"vue.rearranger.settings.migration": "true"
},
&quot;keyToStringList&quot;: {
&quot;DatabaseDriversLRU&quot;: [
&quot;oracle&quot;
"keyToStringList": {
"DatabaseDriversLRU": [
"oracle"
]
}
}</component>
}]]></component>
<component name="ReactorSettings">
<option name="notificationShown" value="true" />
</component>
@ -186,8 +187,7 @@
</method>
</configuration>
<configuration name="Tomcat 9.0.80" type="#com.intellij.j2ee.web.tomcat.TomcatRunConfigurationFactory" factoryName="Local" APPLICATION_SERVER_NAME="Tomcat 9.0.80" ALTERNATIVE_JRE_ENABLED="true" ALTERNATIVE_JRE_PATH="1.8 (2)" nameIsGenerated="true">
<option name="OPEN_IN_BROWSER" value="false" />
<option name="OPEN_IN_BROWSER_URL" value="http://192.168.101.39:9002/IntegralManager/doc.html" />
<option name="OPEN_IN_BROWSER_URL" value="http://192.168.101.106:9003/IntegralManager/doc.html" />
<option name="COMMON_VM_ARGUMENTS" value="-Dfile.encoding=utf-8" />
<option name="UPDATING_POLICY" value="restart-server" />
<deployment>
@ -199,6 +199,7 @@
</deployment>
<server-settings>
<option name="BASE_DIRECTORY_NAME" value="f3020269-24f5-4e17-a252-787d327c95f4" />
<option name="HTTP_PORT" value="9003" />
</server-settings>
<log_file alias="Tomcat Host Manager Log" path="%IDEA_RUN:CATALINA_BASE%/logs/host-manager.*" />
<predefined_log_file enabled="true" id="Tomcat" />
@ -398,6 +399,9 @@
</recent_temporary>
</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="SvnConfiguration">
<configuration>C:\Users\22814\AppData\Roaming\Subversion</configuration>
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="29bcb86b-1634-41e0-a498-79481163cba8" name="Changes" comment="" />
@ -644,7 +648,15 @@
<workItem from="1757377185874" duration="47000" />
<workItem from="1757493113742" duration="2736000" />
<workItem from="1757559975874" duration="2606000" />
<workItem from="1757636618124" duration="1103000" />
<workItem from="1757636618124" duration="3767000" />
<workItem from="1757907231205" duration="1253000" />
<workItem from="1758789404009" duration="2916000" />
<workItem from="1760065739520" duration="64000" />
<workItem from="1760076734417" duration="19000" />
<workItem from="1760148919195" duration="8085000" />
<workItem from="1760946026852" duration="6098000" />
<workItem from="1760953807434" duration="337000" />
<workItem from="1761095809116" duration="3066000" />
</task>
<task id="LOCAL-00001" summary="特请处理">
<option name="closed" value="true" />
@ -918,7 +930,23 @@
<option name="project" value="LOCAL" />
<updated>1757320171471</updated>
</task>
<option name="localTasksCounter" value="35" />
<task id="LOCAL-00035" summary="解决商户总积分查询失败的问题">
<option name="closed" value="true" />
<created>1757648724231</created>
<option name="number" value="00035" />
<option name="presentableId" value="LOCAL-00035" />
<option name="project" value="LOCAL" />
<updated>1757648724231</updated>
</task>
<task id="LOCAL-00036" summary="修改附件上传接口,校验是否上传成功">
<option name="closed" value="true" />
<created>1760165539298</created>
<option name="number" value="00036" />
<option name="presentableId" value="LOCAL-00036" />
<option name="project" value="LOCAL" />
<updated>1760165539298</updated>
</task>
<option name="localTasksCounter" value="37" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -936,7 +964,6 @@
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="解析车牌确认和车牌车型确认参数" />
<MESSAGE value="特请处理" />
<MESSAGE value="数据拆分流水,新加车牌颜色查询条件" />
<MESSAGE value="计费验证修改数据" />
@ -960,7 +987,9 @@
<MESSAGE value="数据同步" />
<MESSAGE value="数据同步功能修改" />
<MESSAGE value="解决轮播图查询报错的问题" />
<option name="LAST_COMMIT_MESSAGE" value="解决轮播图查询报错的问题" />
<MESSAGE value="解决商户总积分查询失败的问题" />
<MESSAGE value="修改附件上传接口,校验是否上传成功" />
<option name="LAST_COMMIT_MESSAGE" value="修改附件上传接口,校验是否上传成功" />
</component>
<component name="VgoProject">
<integration-enabled>false</integration-enabled>
@ -994,6 +1023,16 @@
<line>221</line>
<option name="timeStamp" value="44" />
</line-breakpoint>
<line-breakpoint enabled="true" type="java-line">
<url>file://$PROJECT_DIR$/src/main/java/com/nmgs/util/ImageUtils.java</url>
<line>57</line>
<option name="timeStamp" value="46" />
</line-breakpoint>
<line-breakpoint enabled="true" type="java-line">
<url>file://$PROJECT_DIR$/src/main/java/com/nmgs/service/impl/ServiceAreaServiceImpl.java</url>
<line>156</line>
<option name="timeStamp" value="47" />
</line-breakpoint>
</breakpoints>
</breakpoint-manager>
</component>

@ -152,7 +152,7 @@ public class IntegralSignServiceImpl implements IntegralSignService {
String date=signDate.substring(8);
String sqlExists=sql+" AND ist.USERID=(SELECT ID FROM WEIXN_USER_TABLE WHERE OPENID='"+userId+"') AND ist.MONTH ='"+yM+"' ";
List list= this.mapperI.selectforlist(sqlExists);
if(list.size()>0){//说明已经有签到记录
if(!list.isEmpty()){//说明已经有签到记录
Map<String,Object> paramsUpdate=new HashMap<>();
paramsUpdate.put("dayvalue",date);
paramsUpdate.put("openId",userId);
@ -161,7 +161,7 @@ public class IntegralSignServiceImpl implements IntegralSignService {
if ("Y".equals(PropertiesUtil.getValue("BAKEnabled"))) {
String bakDBType = PropertiesUtil.getValue("BakDBType");
paramsUpdate.put("DBTYPEBAK",bakDBType);
ret=integralSignMyMapper.updateIntegralSign(paramsUpdate);
integralSignMyMapper.updateIntegralSign(paramsUpdate);
}
}else{
Map<String,Object> paramsUpdate=new HashMap<>();

@ -95,7 +95,7 @@ static{
public List getServiceAreaList(String areaName,String areaScope,String showPic,int start,int end) {
List ret=null;
List retlist=new ArrayList();
String sqlTemp=sqlStart;
String sqlTemp=sqlStart +" AND area.OPEN=1 and exists(select 1 from SERVICE_AREA_OPERATION_MEAL_TABLE tt3,SERVICE_AREA_OPERATORS_TABLE tt4 where tt3.JOBNUMBER = tt4.JOBNUMBER AND tt4.SERVICEAREAID = area.ID )";
try{
if("2".equals(DBType)){//oralce数据库
if(!PubTools.isNull(areaName)){
@ -169,7 +169,7 @@ static{
ret= this.mapperI.selectforlist(startSql);
}
}else{}
if(ret.size()>0 && start>0 && "Y".equals(showPic)){
if(!ret.isEmpty() && start>0 && "Y".equals(showPic)){
for(Object obj:ret){
Map<String, Object> obj1 = (Map<String, Object>) obj;
if(!PubTools.isEmpty(obj1.get("PICDATA")) ){

Loading…
Cancel
Save