zds
1 month ago
1 changed files with 0 additions and 84 deletions
@ -1,84 +0,0 @@ |
|||
[交易说明] |
|||
交易名: 物流公司基本信息分页查询 |
|||
所属模块: |
|||
功能简述: |
|||
版权所有: |
|||
表引用: |
|||
版本经历: |
|||
|
|||
[数据库] |
|||
--指定数据库,为空采用默认值,默认为db.properties中列出的第一个库 |
|||
|
|||
[IO定义] |
|||
################################################# |
|||
## 表字段对应输入参数 |
|||
################################################# |
|||
输入.flag TYPEAS s_string |
|||
输入.cust_code TYPEAS s_string |
|||
输入.cust_name TYPEAS s_string |
|||
输入.is_used TYPEAS s_string |
|||
|
|||
[临时表] |
|||
--这边列出来的临时表就会在运行期动态创建 |
|||
|
|||
[临时变量] |
|||
--所有中间过程变量均可在此处定义 |
|||
|
|||
[业务过程] |
|||
|
|||
########################################## |
|||
# 1、输入输出检查 # |
|||
########################################## |
|||
|
|||
|
|||
########################################## |
|||
# 2、主过程前处理 # |
|||
########################################## |
|||
|
|||
|
|||
########################################## |
|||
# 3、业务主过程 # |
|||
########################################## |
|||
|
|||
IF 输入.flag = "1" |
|||
PAGEQUERY |
|||
SELECT |
|||
* |
|||
FROM |
|||
MD_CS_TransportationBase |
|||
WHERE |
|||
is_delete = '0' |
|||
|
|||
OPTION 输入.cust_code <> "" |
|||
cust_code like 输入.cust_code |
|||
ENDOPTION |
|||
|
|||
OPTION 输入.cust_name <> "" |
|||
cust_name like 输入.cust_name |
|||
ENDOPTION |
|||
|
|||
OPTION 输入.is_used <> "" |
|||
is_used = 输入.is_used |
|||
ENDOPTION |
|||
|
|||
ENDSELECT |
|||
ENDPAGEQUERY |
|||
ENDIF |
|||
|
|||
IF 输入.flag = "2" |
|||
QUERY |
|||
SELECT |
|||
cust_code AS value, |
|||
cust_name AS label |
|||
FROM |
|||
MD_CS_TransportationBase |
|||
WHERE |
|||
is_delete = '0' |
|||
AND is_used = '1' |
|||
|
|||
ENDSELECT |
|||
ENDQUERY |
|||
ENDIF |
|||
|
|||
|
|||
|
Loading…
Reference in new issue