u8c封装接口

This commit is contained in:
lvleigang 2024-09-06 11:15:55 +08:00
parent 9b514c36e9
commit 4391df3e02
5 changed files with 914 additions and 163 deletions

View File

@ -42,6 +42,8 @@ spring:
savefile: savefile:
# 文件保存路径 # 文件保存路径
path: /Users/apple/Desktop/log/local path: /Users/apple/Desktop/log/local
tomcatpath: /Users/apple/Desktop/log/local
pluginpath: /Users/apple/Desktop/log/local
zt: zt:
url: http://127.0.0.1:9999/kangarooDataCenterV3/entranceController/externalCallInterface url: http://127.0.0.1:9999/kangarooDataCenterV3/entranceController/externalCallInterface
cbs8: cbs8:

View File

@ -962,19 +962,25 @@ where id = #{id}
${item.leftBracket} ${item.filedId} ${item.leftBracket} ${item.filedId}
<choose> <choose>
<when test="item.compareType == '1'.toString() "> <when test="item.compareType == '1'.toString() ">
= = #{item.filedVaule}
</when> </when>
<when test="item.compareType == '2'.toString() "> <when test="item.compareType == '2'.toString() ">
!= != #{item.filedVaule}
</when> </when>
<when test="item.compareType == '3'.toString() "> <when test="item.compareType == '3'.toString() ">
&gt; &gt; #{item.filedVaule}
</when> </when>
<when test="item.compareType == '4'.toString() "> <when test="item.compareType == '4'.toString() ">
&lt; &lt; #{item.filedVaule}
</when>
<when test="item.compareType == '5'.toString() ">
like concat('%',#{item.filedVaule},'%')
</when>
<when test="item.compareType == '6'.toString() ">
not like concat('%',#{item.filedVaule},'%')
</when> </when>
</choose> </choose>
#{item.filedVaule}
<choose> <choose>
<when test="item.connectionSymbol == '1'.toString() "> <when test="item.connectionSymbol == '1'.toString() ">
<choose> <choose>

View File

@ -12,5 +12,7 @@
SELECT cgeneralhid FROM ic_general_b WHERE vfirstbillcode = #{code} and csourcetype = #{type} SELECT cgeneralhid FROM ic_general_b WHERE vfirstbillcode = #{code} and csourcetype = #{type}
) )
</select> </select>
</mapper> </mapper>

View File

@ -2,6 +2,7 @@ package com.hzya.frame.u8c.Encapsulation.service;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.hzya.frame.basedao.service.IBaseService; import com.hzya.frame.basedao.service.IBaseService;
import com.hzya.frame.sysnew.application.entity.SysExtensionApiEntity;
import com.hzya.frame.u8c.Encapsulation.entity.EncapsulationEntity; import com.hzya.frame.u8c.Encapsulation.entity.EncapsulationEntity;
/** /**
@ -20,6 +21,7 @@ public interface IEncapsulationService extends IBaseService<EncapsulationEntity,
* @return java.lang.Object * @return java.lang.Object
**/ **/
Object purchaseOrderDelete(JSONObject jsonObject); Object purchaseOrderDelete(JSONObject jsonObject);
SysExtensionApiEntity addPurchaseOrderDelete(SysExtensionApiEntity jsonObject);
/** /**
* @Author lvleigang * @Author lvleigang
@ -30,6 +32,7 @@ public interface IEncapsulationService extends IBaseService<EncapsulationEntity,
* @return java.lang.Object * @return java.lang.Object
**/ **/
Object purchaseWarehousingDelete(JSONObject jsonObject); Object purchaseWarehousingDelete(JSONObject jsonObject);
SysExtensionApiEntity addPurchaseWarehousingDelete(SysExtensionApiEntity jsonObject);
/** /**
* @Author lvleigang * @Author lvleigang
@ -40,6 +43,7 @@ public interface IEncapsulationService extends IBaseService<EncapsulationEntity,
* @return java.lang.Object * @return java.lang.Object
**/ **/
Object salesOrderDelete(JSONObject jsonObject); Object salesOrderDelete(JSONObject jsonObject);
SysExtensionApiEntity addSalesOrderDelete(SysExtensionApiEntity jsonObject);
/** /**
* @Author lvleigang * @Author lvleigang
@ -50,6 +54,7 @@ public interface IEncapsulationService extends IBaseService<EncapsulationEntity,
* @return java.lang.Object * @return java.lang.Object
**/ **/
Object transferOrderDelete(JSONObject jsonObject); Object transferOrderDelete(JSONObject jsonObject);
SysExtensionApiEntity addTransferOrderDelete(SysExtensionApiEntity jsonObject);
/** /**
* @Author lvleigang * @Author lvleigang
@ -60,6 +65,7 @@ public interface IEncapsulationService extends IBaseService<EncapsulationEntity,
* @return java.lang.Object * @return java.lang.Object
**/ **/
Object finishedProductsAreStoredDelete(JSONObject jsonObject); Object finishedProductsAreStoredDelete(JSONObject jsonObject);
SysExtensionApiEntity addFinishedProductsAreStoredDelete(SysExtensionApiEntity jsonObject);
/** /**
* @Author lvleigang * @Author lvleigang
@ -70,6 +76,7 @@ public interface IEncapsulationService extends IBaseService<EncapsulationEntity,
* @return java.lang.Object * @return java.lang.Object
**/ **/
Object materialDeliveryDelete(JSONObject jsonObject); Object materialDeliveryDelete(JSONObject jsonObject);
SysExtensionApiEntity addMaterialDeliveryDelete(SysExtensionApiEntity jsonObject);
/** /**
* @Author lvleigang * @Author lvleigang
@ -80,6 +87,7 @@ public interface IEncapsulationService extends IBaseService<EncapsulationEntity,
* @return java.lang.Object * @return java.lang.Object
**/ **/
Object otherWarehouseOrdersDelete(JSONObject jsonObject); Object otherWarehouseOrdersDelete(JSONObject jsonObject);
SysExtensionApiEntity addOtherWarehouseOrdersDelete(SysExtensionApiEntity jsonObject);
/** /**
* @Author lvleigang * @Author lvleigang
@ -90,6 +98,7 @@ public interface IEncapsulationService extends IBaseService<EncapsulationEntity,
* @return java.lang.Object * @return java.lang.Object
**/ **/
Object otherWarehouseReceiptDelete(JSONObject jsonObject); Object otherWarehouseReceiptDelete(JSONObject jsonObject);
SysExtensionApiEntity addOtherWarehouseReceiptDelete(SysExtensionApiEntity jsonObject);
} }