071 tests fixes

This commit is contained in:
2026-08-12 11:34:27 +03:00
parent ed4d0b050a
commit 255ce141d9
5 changed files with 61 additions and 34 deletions
+9 -3
View File
@@ -17,15 +17,21 @@
<m:prepare_detail entity="contragent" accessObject="" key="__id" pageInfoOut="pageInfo"/>
<cfif isDefined("id_klienta") AND NOT isDefined("__id")>
<cfquery name="qResolveUid">
select __id::text as __id from elma.companies where id_klienta=<cfqueryparam cfsqltype="cf_sql_varchar" value="#id_klienta#"/>
</cfquery>
<cfif qResolveUid.recordCount>
<cfset __id=qResolveUid.__id/>
</cfif>
</cfif>
<d:bean readonly=true table="elma.companies" datasource="#request.DS#" output="d" status="status">
<d:param field="__id" type="uuid" key/>
<d:param field="__name" type="varchar" size="255" preprocessor=#cleanInput# forNull=""/>
<d:param field="_inn" type="varchar" size="255" preprocessor=#cleanInput# forNull=""/>
<d:param field="_kpp" type="varchar" size="255" preprocessor=#cleanInput# forNull=""/>
<d:param field="id_klienta" type="varchar" size="255" preprocessor=#cleanInput# forNull=""/>
<!--- *** билдер показывает... <d:param field="wz_id" type="varchar" size="255" preprocessor=#cleanInput# forNull=""/> --->
<!--- <d:param field="code_inn" type="varchar" size="255" preprocessor=#cleanInput# forNull=""/>
<d:param field="code_kpp" type="varchar" size="255" preprocessor=#cleanInput# forNull=""/> --->
</d:bean>