积分流水ID步长由1改为10

master
白美平 9 months ago
parent 39f15fd3fd
commit 4ea2506082

@ -10,10 +10,9 @@
</component> </component>
<component name="ChangeListManager"> <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/dataSources/7d9d4f54-fadf-4993-9e3f-0bc7162a4ac7.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$/IntegraManager.iml" beforeDir="false" afterPath="$PROJECT_DIR$/IntegraManager.iml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/main/java/com/nmgs/service/impl/ApponintmentInfoServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/nmgs/service/impl/ApponintmentInfoServiceImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/nmgs/controller/QcodeInfoController.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/nmgs/controller/QcodeInfoController.java" 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" />
</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" />
@ -76,57 +75,57 @@
<component name="ProjectViewState"> <component name="ProjectViewState">
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"><![CDATA[{ <component name="PropertiesComponent">{
"keyToString": { &quot;keyToString&quot;: {
"Application.DivPassDataImpl.executor": "Run", &quot;Application.DivPassDataImpl.executor&quot;: &quot;Run&quot;,
"Application.ImageUtils.executor": "Run", &quot;Application.ImageUtils.executor&quot;: &quot;Run&quot;,
"Application.PubTools.executor": "Run", &quot;Application.PubTools.executor&quot;: &quot;Run&quot;,
"Application.QCodeInfoServiceImpl.executor": "Debug", &quot;Application.QCodeInfoServiceImpl.executor&quot;: &quot;Debug&quot;,
"Application.SensitiveFilter.executor": "Run", &quot;Application.SensitiveFilter.executor&quot;: &quot;Run&quot;,
"Application.main.executor": "Run", &quot;Application.main.executor&quot;: &quot;Run&quot;,
"Application.redisConfigUtil.executor": "Debug", &quot;Application.redisConfigUtil.executor&quot;: &quot;Debug&quot;,
"Maven.IntegraManager [clean].executor": "Run", &quot;Maven.IntegraManager [clean].executor&quot;: &quot;Run&quot;,
"Maven.IntegraManager [install].executor": "Run", &quot;Maven.IntegraManager [install].executor&quot;: &quot;Run&quot;,
"Maven.IntegralManager [clean].executor": "Run", &quot;Maven.IntegralManager [clean].executor&quot;: &quot;Run&quot;,
"Maven.IntegralManager [install].executor": "Run", &quot;Maven.IntegralManager [install].executor&quot;: &quot;Run&quot;,
"Maven.IntegralManager [validate].executor": "Run", &quot;Maven.IntegralManager [validate].executor&quot;: &quot;Run&quot;,
"Maven.IntegralManagerSys [clean].executor": "Run", &quot;Maven.IntegralManagerSys [clean].executor&quot;: &quot;Run&quot;,
"Maven.IntegralManagerSys [install].executor": "Run", &quot;Maven.IntegralManagerSys [install].executor&quot;: &quot;Run&quot;,
"Maven.devProject [clean].executor": "Run", &quot;Maven.devProject [clean].executor&quot;: &quot;Run&quot;,
"Maven.devProject [install].executor": "Run", &quot;Maven.devProject [install].executor&quot;: &quot;Run&quot;,
"Maven.dev_project [clean].executor": "Run", &quot;Maven.dev_project [clean].executor&quot;: &quot;Run&quot;,
"Maven.dev_project [install].executor": "Run", &quot;Maven.dev_project [install].executor&quot;: &quot;Run&quot;,
"Maven.special_event [clean].executor": "Run", &quot;Maven.special_event [clean].executor&quot;: &quot;Run&quot;,
"Maven.special_event [install].executor": "Run", &quot;Maven.special_event [install].executor&quot;: &quot;Run&quot;,
"Maven.special_event [org.apache.maven.plugins:maven-assembly-plugin:3.3.0:single].executor": "Run", &quot;Maven.special_event [org.apache.maven.plugins:maven-assembly-plugin:3.3.0:single].executor&quot;: &quot;Run&quot;,
"Maven.special_event [org.springframework.boot:spring-boot-maven-plugin:2.7.11:repackage].executor": "Run", &quot;Maven.special_event [org.springframework.boot:spring-boot-maven-plugin:2.7.11:repackage].executor&quot;: &quot;Run&quot;,
"Maven.special_event [package].executor": "Run", &quot;Maven.special_event [package].executor&quot;: &quot;Run&quot;,
"Maven.special_event [validate].executor": "Run", &quot;Maven.special_event [validate].executor&quot;: &quot;Run&quot;,
"RunOnceActivity.OpenProjectViewOnStart": "true", &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
"RunOnceActivity.ShowReadmeOnStart": "true", &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
"TomEE Server.special_event.executor": "Debug", &quot;TomEE Server.special_event.executor&quot;: &quot;Debug&quot;,
"Tomcat Server.Tomcat 9.0.80.executor": "Debug", &quot;Tomcat Server.Tomcat 9.0.80.executor&quot;: &quot;Debug&quot;,
"deletionFromPopupRequiresConfirmation": "false", &quot;deletionFromPopupRequiresConfirmation&quot;: &quot;false&quot;,
"git-widget-placeholder": "master", &quot;git-widget-placeholder&quot;: &quot;master&quot;,
"kotlin-language-version-configured": "true", &quot;kotlin-language-version-configured&quot;: &quot;true&quot;,
"last_opened_file_path": "D:/workspace/IntegralManager", &quot;last_opened_file_path&quot;: &quot;D:/workspace/IntegralManager&quot;,
"node.js.detected.package.eslint": "true", &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
"node.js.detected.package.tslint": "true", &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
"node.js.selected.package.eslint": "(autodetect)", &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
"node.js.selected.package.tslint": "(autodetect)", &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
"nodejs_package_manager_path": "npm", &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
"project.structure.last.edited": "Modules", &quot;project.structure.last.edited&quot;: &quot;Modules&quot;,
"project.structure.proportion": "0.15", &quot;project.structure.proportion&quot;: &quot;0.15&quot;,
"project.structure.side.proportion": "0.37169158", &quot;project.structure.side.proportion&quot;: &quot;0.37169158&quot;,
"settings.editor.selected.configurable": "reference.settings.project.maven.importing", &quot;settings.editor.selected.configurable&quot;: &quot;reference.settings.project.maven.importing&quot;,
"vue.rearranger.settings.migration": "true" &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
}, },
"keyToStringList": { &quot;keyToStringList&quot;: {
"DatabaseDriversLRU": [ &quot;DatabaseDriversLRU&quot;: [
"oracle" &quot;oracle&quot;
] ]
} }
}]]></component> }</component>
<component name="ReactorSettings"> <component name="ReactorSettings">
<option name="notificationShown" value="true" /> <option name="notificationShown" value="true" />
</component> </component>
@ -536,7 +535,9 @@
<workItem from="1735284453688" duration="36000" /> <workItem from="1735284453688" duration="36000" />
<workItem from="1736056909220" duration="153000" /> <workItem from="1736056909220" duration="153000" />
<workItem from="1738986812804" duration="1335000" /> <workItem from="1738986812804" duration="1335000" />
<workItem from="1739866933321" duration="1266000" /> <workItem from="1739866933321" duration="3528000" />
<workItem from="1739933270638" duration="29000" />
<workItem from="1740453934628" duration="2221000" />
</task> </task>
<task id="LOCAL-00001" summary="特请处理"> <task id="LOCAL-00001" summary="特请处理">
<option name="closed" value="true" /> <option name="closed" value="true" />
@ -714,7 +715,23 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1739869643306</updated> <updated>1739869643306</updated>
</task> </task>
<option name="localTasksCounter" value="23" /> <task id="LOCAL-00023" summary="打开项目报错了,删除了不需要的引用">
<option name="closed" value="true" />
<created>1739869849159</created>
<option name="number" value="00023" />
<option name="presentableId" value="LOCAL-00023" />
<option name="project" value="LOCAL" />
<updated>1739869849159</updated>
</task>
<task id="LOCAL-00024" summary="打开项目报错了,删除了不需要的引用">
<option name="closed" value="true" />
<created>1739870419806</created>
<option name="number" value="00024" />
<option name="presentableId" value="LOCAL-00024" />
<option name="project" value="LOCAL" />
<updated>1739870419806</updated>
</task>
<option name="localTasksCounter" value="25" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">

@ -377,7 +377,7 @@ public class ApponintmentInfoServiceImpl implements AppointmentInfoService {
String cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" + String cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" +
"VALUES\n" + "VALUES\n" +
"\t(\n" + "\t(\n" +
"\t\t" + (maxId + 1) + ",\n" + "\t\t" + (maxId + 10) + ",\n" +
"\t\t" + userIdNew + ",\n" + "\t\t" + userIdNew + ",\n" +
"\t\t" + PubTools.doubleSave1(lastEnabled * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(lastEnabled * 100) + ",\n" +
"\t\t" + PubTools.doubleSave1(consumeInteger * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(consumeInteger * 100) + ",\n" +
@ -388,7 +388,7 @@ public class ApponintmentInfoServiceImpl implements AppointmentInfoService {
cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" + cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" +
"VALUES\n" + "VALUES\n" +
"\t(\n" + "\t(\n" +
"\t\t" + (maxId + 1) + ",\n" + "\t\t" + (maxId + 10) + ",\n" +
"\t\t" + userIdNew + ",\n" + "\t\t" + userIdNew + ",\n" +
"\t\t" + PubTools.doubleSave1(lastEnabled * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(lastEnabled * 100) + ",\n" +
"\t\t" + PubTools.doubleSave1(consumeInteger * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(consumeInteger * 100) + ",\n" +
@ -403,9 +403,9 @@ public class ApponintmentInfoServiceImpl implements AppointmentInfoService {
this.mapperI.insert(cafterSql); this.mapperI.insert(cafterSql);
lastEnabled = lastEnabled - consumeInteger; lastEnabled = lastEnabled - consumeInteger;
if (PubTools.isNull(integralListId)) { if (PubTools.isNull(integralListId)) {
integralListId = (maxId + 1) + ""; integralListId = (maxId + 10) + "";
} else { } else {
integralListId += "," + (maxId + 1); integralListId += "," + (maxId + 10);
} }
LogUtil.WriteLog_Info("积分核减=====积分流水已插入", "ApponintmentInfoServiceImpl"); LogUtil.WriteLog_Info("积分核减=====积分流水已插入", "ApponintmentInfoServiceImpl");
//2、新加一条消费记录 //2、新加一条消费记录
@ -418,7 +418,7 @@ public class ApponintmentInfoServiceImpl implements AppointmentInfoService {
"INTEGRATIONLISTID,\n" + "INTEGRATIONLISTID,\n" +
"ORDERID) values (\n" + "ORDERID) values (\n" +
" (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," + " (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," +
"" + userIdNew + ",to_date('" + rollbackTime + "','yyyy-MM-dd HH24:mi:ss'),'" + jobNumber + "','SUCCESS'," + (maxId + 1) + ",'" + operatorId + "'" + "" + userIdNew + ",to_date('" + rollbackTime + "','yyyy-MM-dd HH24:mi:ss'),'" + jobNumber + "','SUCCESS'," + (maxId + 10) + ",'" + operatorId + "'" +
")"; ")";
if ("4".equals(DBType)) { if ("4".equals(DBType)) {
sqlIntegralList = "insert into CAFTER_TABLE(ID,\n" + sqlIntegralList = "insert into CAFTER_TABLE(ID,\n" +
@ -430,7 +430,7 @@ public class ApponintmentInfoServiceImpl implements AppointmentInfoService {
"INTEGRATIONLISTID,\n" + "INTEGRATIONLISTID,\n" +
"ORDERID) values (\n" + "ORDERID) values (\n" +
" (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," + " (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," +
"" + userIdNew + ",str_to_date('" + rollbackTime + "','%Y-%m-%d %H:%i:%s'),'" + jobNumber + "','SUCCESS'," + (maxId + 1) + ",'" + jobNumber + "'" + "" + userIdNew + ",str_to_date('" + rollbackTime + "','%Y-%m-%d %H:%i:%s'),'" + jobNumber + "','SUCCESS'," + (maxId + 10) + ",'" + jobNumber + "'" +
")"; ")";
} }
this.mapperI.insert(sqlIntegralList); this.mapperI.insert(sqlIntegralList);

@ -585,7 +585,7 @@ public class QCodeInfoServiceImpl {
String cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" + String cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" +
"VALUES\n" + "VALUES\n" +
"\t(\n" + "\t(\n" +
"\t\t" + (maxId + 1) + ",\n" + "\t\t" + (maxId + 10) + ",\n" +
"\t\t"+userIdNew+",\n" + "\t\t"+userIdNew+",\n" +
"\t\t" + PubTools.doubleSave1(Double.parseDouble(ENABLEINTEGRATION) * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(Double.parseDouble(ENABLEINTEGRATION) * 100) + ",\n" +
"\t\t" + PubTools.doubleSave1(rebateIntegrateSave * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(rebateIntegrateSave * 100) + ",\n" +
@ -596,7 +596,7 @@ public class QCodeInfoServiceImpl {
cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" + cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" +
"VALUES\n" + "VALUES\n" +
"\t(\n" + "\t(\n" +
"\t\t" + (maxId + 1) + ",\n" + "\t\t" + (maxId + 10) + ",\n" +
"\t\t"+userIdNew+",\n" + "\t\t"+userIdNew+",\n" +
"\t\t" + PubTools.doubleSave1(Double.parseDouble(ENABLEINTEGRATION) * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(Double.parseDouble(ENABLEINTEGRATION) * 100) + ",\n" +
"\t\t" + PubTools.doubleSave1(rebateIntegrateSave * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(rebateIntegrateSave * 100) + ",\n" +
@ -629,7 +629,7 @@ public class QCodeInfoServiceImpl {
"INTEGRATIONLISTID,\n" + "INTEGRATIONLISTID,\n" +
"ORDERID,CONTENT) values (\n" + "ORDERID,CONTENT) values (\n" +
" (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," + " (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," +
""+userIdNew+",to_date('" + rollbackTime + "','yyyy-MM-dd HH24:mi:ss'),'" + serverOperationId + "','SUCCESS'," + (maxId + 1) + ",'" + orderId + "','" + content + "'" + "" + userIdNew + ",to_date('" + rollbackTime + "','yyyy-MM-dd HH24:mi:ss'),'" + serverOperationId + "','SUCCESS'," + (maxId + 10) + ",'" + orderId + "','" + content + "'" +
")"; ")";
if("4".equals(DBType)){ if("4".equals(DBType)){
sqlIntegralList = "insert into CAFTER_TABLE(ID,\n" + sqlIntegralList = "insert into CAFTER_TABLE(ID,\n" +
@ -641,7 +641,7 @@ public class QCodeInfoServiceImpl {
"INTEGRATIONLISTID,\n" + "INTEGRATIONLISTID,\n" +
"ORDERID,CONTENT) values (\n" + "ORDERID,CONTENT) values (\n" +
" (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," + " (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," +
""+userIdNew+",str_to_date('" + rollbackTime + "','%Y-%m-%d %H:%i:%s'),'" + serverOperationId + "','SUCCESS'," + (maxId + 1) + ",'" + orderId + "','" + content + "'" + "" + userIdNew + ",str_to_date('" + rollbackTime + "','%Y-%m-%d %H:%i:%s'),'" + serverOperationId + "','SUCCESS'," + (maxId + 10) + ",'" + orderId + "','" + content + "'" +
")"; ")";
} }
this.mapperI.insert(sqlIntegralList); this.mapperI.insert(sqlIntegralList);
@ -657,7 +657,7 @@ public class QCodeInfoServiceImpl {
if(appointList.size()>0){ if(appointList.size()>0){
Map<String,Object> map=(Map<String,Object>)appointList.get(0); Map<String,Object> map=(Map<String,Object>)appointList.get(0);
int appointId=Integer.parseInt(map.get("ID").toString()); int appointId=Integer.parseInt(map.get("ID").toString());
String updateAppointSql="UPDATE APPOINTMENT_INFO_TABLE SET COMPLETESTATUS='Y',INTEGRATIONLISTID="+(maxId + 1)+" WHERE ID="+appointId+""; String updateAppointSql="UPDATE APPOINTMENT_INFO_TABLE SET COMPLETESTATUS='Y',INTEGRATIONLISTID="+(maxId + 10)+" WHERE ID="+appointId+"";
this.mapperI.update(updateAppointSql); this.mapperI.update(updateAppointSql);
LogUtil.WriteLog_Info("积分核减=====修改预约记录为已核销", "QCodeInfoServiceImpl"); LogUtil.WriteLog_Info("积分核减=====修改预约记录为已核销", "QCodeInfoServiceImpl");
} }
@ -1499,7 +1499,7 @@ public class QCodeInfoServiceImpl {
String cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" + String cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" +
"VALUES\n" + "VALUES\n" +
"\t(\n" + "\t(\n" +
"\t\t" + (maxId + 1) + ",\n" + "\t\t" + (maxId + 10) + ",\n" +
"\t\t"+userIdNew+",\n" + "\t\t"+userIdNew+",\n" +
"\t\t" + PubTools.doubleSave1(Double.parseDouble(ENABLEINTEGRATION) * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(Double.parseDouble(ENABLEINTEGRATION) * 100) + ",\n" +
"\t\t" + PubTools.doubleSave1(rebateIntegrateSave * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(rebateIntegrateSave * 100) + ",\n" +
@ -1510,7 +1510,7 @@ public class QCodeInfoServiceImpl {
cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" + cafterSql = "INSERT INTO integration_list_table ( ID, USERID, LASTINTEGRATION, PAYINTEGRATION, RESTINTEGRATION, PAYTIME, PAYTYPE,OGENABLEINTEGRATION,CPENABLEINTEGRATION )\n" +
"VALUES\n" + "VALUES\n" +
"\t(\n" + "\t(\n" +
"\t\t" + (maxId + 1) + ",\n" + "\t\t" + (maxId + 10) + ",\n" +
"\t\t"+userIdNew+",\n" + "\t\t"+userIdNew+",\n" +
"\t\t" + PubTools.doubleSave1(Double.parseDouble(ENABLEINTEGRATION) * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(Double.parseDouble(ENABLEINTEGRATION) * 100) + ",\n" +
"\t\t" + PubTools.doubleSave1(rebateIntegrateSave * 100) + ",\n" + "\t\t" + PubTools.doubleSave1(rebateIntegrateSave * 100) + ",\n" +
@ -1543,7 +1543,7 @@ public class QCodeInfoServiceImpl {
"INTEGRATIONLISTID,\n" + "INTEGRATIONLISTID,\n" +
"ORDERID,CONTENT) values (\n" + "ORDERID,CONTENT) values (\n" +
" (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," + " (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," +
""+userIdNew+",to_date('" + rollbackTime + "','yyyy-MM-dd HH24:mi:ss'),'" + serverOperationId + "','SUCCESS'," + (maxId + 1) + ",'" + orderId + "','" + content + "'" + "" + userIdNew + ",to_date('" + rollbackTime + "','yyyy-MM-dd HH24:mi:ss'),'" + serverOperationId + "','SUCCESS'," + (maxId + 10) + ",'" + orderId + "','" + content + "'" +
")"; ")";
if("4".equals(DBType)){ if("4".equals(DBType)){
sqlIntegralList = "insert into CAFTER_TABLE(ID,\n" + sqlIntegralList = "insert into CAFTER_TABLE(ID,\n" +
@ -1555,7 +1555,7 @@ public class QCodeInfoServiceImpl {
"INTEGRATIONLISTID,\n" + "INTEGRATIONLISTID,\n" +
"ORDERID,CONTENT) values (\n" + "ORDERID,CONTENT) values (\n" +
" (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," + " (select COALESCE(max(t.ID),0)+1 from CAFTER_TABLE t),''," +
""+userIdNew+",str_to_date('" + rollbackTime + "','%Y-%m-%d %H:%i:%s'),'" + serverOperationId + "','SUCCESS'," + (maxId + 1) + ",'" + orderId + "','" + content + "'" + "" + userIdNew + ",str_to_date('" + rollbackTime + "','%Y-%m-%d %H:%i:%s'),'" + serverOperationId + "','SUCCESS'," + (maxId + 10) + ",'" + orderId + "','" + content + "'" +
")"; ")";
} }
this.mapperI.insert(sqlIntegralList); this.mapperI.insert(sqlIntegralList);
@ -1571,7 +1571,7 @@ public class QCodeInfoServiceImpl {
if(appointList.size()>0){ if(appointList.size()>0){
Map<String,Object> map=(Map<String,Object>)appointList.get(0); Map<String,Object> map=(Map<String,Object>)appointList.get(0);
int appointId=Integer.parseInt(map.get("ID").toString()); int appointId=Integer.parseInt(map.get("ID").toString());
String updateAppointSql="UPDATE APPOINTMENT_INFO_TABLE SET COMPLETESTATUS='Y',INTEGRATIONLISTID="+(maxId + 1)+" WHERE ID="+appointId+""; String updateAppointSql="UPDATE APPOINTMENT_INFO_TABLE SET COMPLETESTATUS='Y',INTEGRATIONLISTID="+(maxId + 10)+" WHERE ID="+appointId+"";
this.mapperI.update(updateAppointSql); this.mapperI.update(updateAppointSql);
LogUtil.WriteLog_Info("积分核减=====修改预约记录为已核销", "QCodeInfoServiceImpl"); LogUtil.WriteLog_Info("积分核减=====修改预约记录为已核销", "QCodeInfoServiceImpl");
} }

Loading…
Cancel
Save