@@ -85,4 +85,7 @@ public interface SyShippingOrderMapper extends BaseMapper<SyShippingOrder> {
//修改人民币和美元推送状态
public void updateRmbIspull(@Param("id") String id);
public void updateUsdIspull(@Param("id") String id);
+
+ //回写U8费用支出单单据ID
+ public void updateUaIdentity(@Param("id") String id,@Param("accid") String accid);
}
@@ -309,4 +309,11 @@ on a.tailoring_fabric_item_id = c.id
where sy_letter_deposit_id= #{id}
</update>
+ <update id="updateUaIdentity">
+ update UFSystem.dbo.ua_identity
+ set iFatherId = #{id}
+ where cAcc_Id =#{accid} and cvouchtype = 'SALEPAY'
+ </update>
</mapper>
@@ -823,6 +823,8 @@ public class SyShippingOrderServiceImpl extends ServiceImpl<SyShippingOrderMappe
//修改最大编码
purchaseWarehousingMapper.updateVoucherHistoryCNumber(org.jeecg.modules.system.util.oConvertUtils.maxNumber(cCode),"09");
+ //修改最大ID
+ syShippingOrderMapper.updateUaIdentity(id,itemList.get(0).get("pkOrg").toString());
}catch (Exception e){
e.printStackTrace();