Compare commits
1 Commits
ea5c4cef7b
...
temp_0522
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
703078de4f |
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding/<project>=UTF-8
|
||||
@@ -0,0 +1,7 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<installed facet="java" version="1.8"/>
|
||||
</faceted-project>
|
||||
100
acs2/nladmin-system/nlsso-server/src/main/WEB-INF/classes/app.xml
Executable file
100
acs2/nladmin-system/nlsso-server/src/main/WEB-INF/classes/app.xml
Executable file
@@ -0,0 +1,100 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||||
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context-3.0.xsd
|
||||
http://www.springframework.org/schema/tx
|
||||
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
|
||||
http://www.springframework.org/schema/aop
|
||||
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
|
||||
|
||||
|
||||
<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
||||
<property name="locations">
|
||||
<list>
|
||||
<value>classpath:wdk.properties</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- 基于spring 事务的数据源配置方式 -->
|
||||
<bean id="datasource_eap" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close">
|
||||
<property name="url" value="${db.eap.url}" />
|
||||
<property name="username" value="${db.eap.user}" />
|
||||
<property name="connectProperties">
|
||||
<props>
|
||||
<prop key="password">${db.eap.password}</prop>
|
||||
<prop key="autoReconnect">true</prop>
|
||||
</props>
|
||||
</property>
|
||||
<property name="driverClassName" value="${db.eap.driver}" />
|
||||
<property name="filters" value="stat" />
|
||||
<property name="maxActive" value="20" />
|
||||
<property name="initialSize" value="3" />
|
||||
<property name="minIdle" value="3" />
|
||||
<property name="maxWait" value="180000" />
|
||||
<property name="timeBetweenEvictionRunsMillis" value="60000" />
|
||||
<property name="minEvictableIdleTimeMillis" value="300000" />
|
||||
<property name="validationQuery" value="SELECT 'x'" />
|
||||
<property name="testWhileIdle" value="true" />
|
||||
<property name="testOnBorrow" value="false" />
|
||||
<property name="testOnReturn" value="false" />
|
||||
<!-- /*是否自动回收超时连接*/ -->
|
||||
<property name="removeAbandoned" value="true" />
|
||||
<!-- /*延长这个所谓的超时时间*/ -->
|
||||
<property name="removeAbandonedTimeout" value="3600" />
|
||||
|
||||
</bean>
|
||||
|
||||
|
||||
|
||||
<!--Hibernate SessionFatory -->
|
||||
<bean id="sessionFactory" class="org.wdk.core.spring.hibernate.WDKSessionFactoryBean">
|
||||
<property name="dataSource" ref="datasource_eap" />
|
||||
<property name="hibernateProperties">
|
||||
<props>
|
||||
<prop key="hibernate.dialect">${db.eap.hibernate.dialect}</prop>
|
||||
<prop key="hibernate.current_session_context_class">org.springframework.orm.hibernate3.SpringSessionContext</prop>
|
||||
<prop key="hibernate.hbm2ddl.auto">none</prop>
|
||||
<prop key="hibernate.show_sql">false</prop>
|
||||
<prop key="hibernate.connection.release_mode">after_transaction</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="UdataSource" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
|
||||
<property name="sessionFactory" ref="sessionFactory" />
|
||||
<property name="dataSource" ref="datasource_eap" />
|
||||
</bean>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 定义事务管理器(声明式的事务) 开启事务控制的注解支持-->
|
||||
<tx:annotation-driven transaction-manager="UdataSource"/>
|
||||
|
||||
<aop:aspectj-autoproxy proxy-target-class="true"/>
|
||||
|
||||
|
||||
<!-- 开启TXC扫描
|
||||
<bean class="com.taobao.txc.client.aop.TxcTransactionScaner">
|
||||
<constructor-arg value="default"/>
|
||||
</bean>
|
||||
-->
|
||||
|
||||
<!-- 系统启动 -->
|
||||
<bean id="WDKStart" class="org.wdk.WDKCore" >
|
||||
<property name="WDK_TYPE" value="wdk"></property>
|
||||
</bean>
|
||||
|
||||
<!-- <import resource="classpath:com/noblelift/eap/platform/module/transfer/mount/conf/transfer_mq.xml"/> -->
|
||||
</beans>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,115 @@
|
||||
[
|
||||
{
|
||||
tbname:'PF_PB_SysDicInfo'
|
||||
,cachetype:'wql'
|
||||
,fields:''
|
||||
,pkfield:'sysdic_type,sysdic_code'
|
||||
,srv_name:''
|
||||
,srv_method:''
|
||||
,srv_param:[]
|
||||
,srv_result:''
|
||||
}
|
||||
,{
|
||||
tbname:'PF_PB_Parameter'
|
||||
,cachetype:'wql'
|
||||
,fields:''
|
||||
,pkfield:'para_code'
|
||||
,srv_name:''
|
||||
,srv_method:''
|
||||
,srv_param:[]
|
||||
,srv_result:''
|
||||
}
|
||||
,{
|
||||
tbname:'PF_PB_CorpPara'
|
||||
,cachetype:'wql'
|
||||
,fields:''
|
||||
,pkfield:'corp_uuid,para_code'
|
||||
,srv_name:''
|
||||
,srv_method:''
|
||||
,srv_param:[]
|
||||
,srv_result:''
|
||||
}
|
||||
,{
|
||||
tbname:'PF_APP_PACKAGE'
|
||||
,cachetype:'hsf'
|
||||
,fields:''
|
||||
,pkfield:'pack_uuid'
|
||||
,srv_name:'service.portal.package'
|
||||
,srv_method:'queryAllPackageList'
|
||||
,srv_param:[
|
||||
'pack_uuid,pack_code,pack_name,short_name,pack_url,display_order,manufacturer,is_active,remark,token_receive_url,token_remove_url,sysisdelete'
|
||||
,'display_order'
|
||||
]
|
||||
,srv_result:'package_info'
|
||||
}
|
||||
,{
|
||||
tbname:'UC_UU_ORGINFO'
|
||||
,cachetype:'hsf'
|
||||
,fields:'org_uuid,org_code,sys_code,org_name,simple_name,org_type_scode,org_level_scode,parent_uuid,is_manage_unit,manage_unit_uuid,sysisdelete'
|
||||
,pkfield:'org_uuid'
|
||||
,srv_name:'service.usr.org'
|
||||
,srv_method:'loadCache'
|
||||
,srv_param:[
|
||||
[{fieldName:'sysisdelete',logicOperator:'=',logicValue:'0'}]
|
||||
,'org_uuid,org_code,sys_code,org_name,simple_name,org_type_scode,org_level_scode,parent_uuid,is_manage_unit,manage_unit_uuid,sysisdelete'
|
||||
,''
|
||||
]
|
||||
,srv_result:'resultset'
|
||||
}
|
||||
,{
|
||||
tbname:'CC_TBC_PRODUCT'
|
||||
,cachetype:'hsf'
|
||||
,fields:'manage_unit_uuid,product_uuid,manage_unit_name,product_code,sys_code,product_name,factory_uuid,factory_simple_name,brand_uuid,brand_name,default_unit_uuid,default_unit_name,sale_tax_rate,buy_tax_rate,price_type_code,factory_price_notax,direct_whole_price,direct_retail_price,adjust_price,retail_price,whole_sale_price,buy_price,move_price,allot_price,is_terminal_order,terminal_status,org_is_active,his_active,sysisdelete'
|
||||
,pkfield:'manage_unit_uuid,product_uuid'
|
||||
,srv_name:'service.mtr.tbc.product'
|
||||
,srv_method:'loadCache'
|
||||
,srv_param:[
|
||||
[{fieldName:'sysisdelete',logicOperator:'=',logicValue:'0'}]
|
||||
,'manage_unit_uuid,product_uuid,manage_unit_name,product_code,sys_code,product_name,factory_uuid,factory_simple_name,brand_uuid,brand_name,default_unit_uuid,default_unit_name,sale_tax_rate,buy_tax_rate,price_type_code,factory_price_notax,direct_whole_price,direct_retail_price,adjust_price,retail_price,whole_sale_price,buy_price,move_price,allot_price,is_terminal_order,terminal_status,org_is_active,his_active,sysisdelete'
|
||||
,''
|
||||
]
|
||||
,srv_result:'resultset'
|
||||
}
|
||||
,{
|
||||
tbname:'CC_TBC_PRODUCTUNIT'
|
||||
,cachetype:'hsf'
|
||||
,fields:'unit_uuid,unit_name,serial_code,class_number,is_default_class,branch_quantity,is_std_serial,sysisdelete'
|
||||
,pkfield:'unit_uuid'
|
||||
,srv_name:'service.mtr.tbc.unit'
|
||||
,srv_method:'loadCache'
|
||||
,srv_param:[
|
||||
[{fieldName:'sysisdelete',logicOperator:'=',logicValue:'0'}]
|
||||
,'unit_uuid,unit_name,serial_code,class_number,is_default_class,branch_quantity,is_std_serial,sysisdelete'
|
||||
,''
|
||||
]
|
||||
,srv_result:'resultset'
|
||||
}
|
||||
,{
|
||||
tbname:'TC_PUB_INVSALETYPEPARA'
|
||||
,cachetype:'hsf'
|
||||
,fields:'saletype_code,org_uuid,manage_unit_uuid,is_use_quota,is_use_limit,is_change_price,price_type,def_dlv_level,stor_uuid,is_auto_audit,is_update_ordqty,is_update_bizqty,is_auto_out,is_auto_check'
|
||||
,pkfield:'saletype_code,org_uuid'
|
||||
,srv_name:'service.tc.pub.invsaletypepara'
|
||||
,srv_method:'loadCache'
|
||||
,srv_param:[
|
||||
[]
|
||||
,'saletype_code,org_uuid,manage_unit_uuid,is_use_quota,is_use_limit,is_change_price,price_type,def_dlv_level,stor_uuid,is_auto_audit,is_update_ordqty,is_update_bizqty,is_auto_out,is_auto_check'
|
||||
,''
|
||||
]
|
||||
,srv_result:'resultset'
|
||||
}
|
||||
,{
|
||||
tbname:'TC_IVT_BSBIZSTORATTR'
|
||||
,cachetype:'hsf'
|
||||
,fields:'stor_uuid,stor_code,stor_name,simple_name,manage_unit_uuid,is_purch_stor,is_deliver_stor,is_seize_stor,is_permit_minus,is_open_biz_record,biz_date,is_mvout_auto_cfm,is_mvin_auto_cfm,real_stor_uuid,is_enable,sysisdelete'
|
||||
,pkfield:'manage_unit_uuid,stor_uuid'
|
||||
,srv_name:'service.tc.ivt.bizstorattr'
|
||||
,srv_method:'loadCache'
|
||||
,srv_param:[
|
||||
[{fieldName:'sysisdelete',logicOperator:'=',logicValue:'0'}]
|
||||
,'stor_uuid,stor_code,stor_name,simple_name,manage_unit_uuid,is_purch_stor,is_deliver_stor,is_seize_stor,is_permit_minus,is_open_biz_record,biz_date,is_mvout_auto_cfm,is_mvin_auto_cfm,real_stor_uuid,is_enable,sysisdelete'
|
||||
,''
|
||||
]
|
||||
,srv_result:'resultset'
|
||||
}
|
||||
]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
|
||||
##-- portal action配置
|
||||
portal.menu=com.noblelift.imp.platform.module.portal.source.MenuAction
|
||||
portal.package=com.noblelift.imp.platform.module.portal.source.PackageAction
|
||||
portal.pkgfunction=com.noblelift.imp.platform.module.portal.source.PkgFunctionAction
|
||||
@@ -0,0 +1,177 @@
|
||||
{
|
||||
sa: [
|
||||
{
|
||||
menucode: 'MENU01',
|
||||
menuname: '平台控制台',
|
||||
parentmenucode: '-1',
|
||||
menuicon: '',
|
||||
menuurl: '',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0101',
|
||||
menuname: '应用包注册',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/portal/saconsole/packagereg.jsp',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0102',
|
||||
menuname: '应用注册',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/portal/saconsole/appreg.jsp',
|
||||
ordercode: '2',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0103',
|
||||
menuname: '组织机构管理',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/uum/uum_org.jsp',
|
||||
ordercode: '3',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0104',
|
||||
menuname: '终端管理',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: '',
|
||||
ordercode: '4',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU010401',
|
||||
menuname: '注册终端产品',
|
||||
parentmenucode: 'MENU0104',
|
||||
menuicon: '',
|
||||
menuurl: 'products/imp/trs/tmg/platform_productreg.jsp',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU010402',
|
||||
menuname: '终端产品管理',
|
||||
parentmenucode: 'MENU0104',
|
||||
menuicon: '',
|
||||
menuurl: 'products/imp/trs/tmg/platform_product.jsp',
|
||||
ordercode: '2',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU010403',
|
||||
menuname: '系统终端管理',
|
||||
parentmenucode: 'MENU0104',
|
||||
menuicon: '',
|
||||
menuurl: 'products/imp/trs/tmg/platform_device_sys.jsp',
|
||||
ordercode: '3',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0105',
|
||||
menuname: 'AppKey管理',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/portal/saconsole/app_key.jsp',
|
||||
ordercode: '5',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0106',
|
||||
menuname: '其他管理',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: '',
|
||||
ordercode: '6',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU010601',
|
||||
menuname: '缓存管理',
|
||||
parentmenucode: 'MENU0106',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/manage/cache.jsp',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU010602',
|
||||
menuname: '定时器管理',
|
||||
parentmenucode: 'MENU0106',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/manage/scheduler.jsp',
|
||||
ordercode: '2',
|
||||
menuparam: ''
|
||||
}
|
||||
],
|
||||
admin: [
|
||||
{
|
||||
menucode: 'MENU01',
|
||||
menuname: '超管控制台',
|
||||
parentmenucode: '-1',
|
||||
menuicon: '',
|
||||
menuurl: '',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0101',
|
||||
menuname: '组织机构管理',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/uum/uum_org_admin.jsp',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0102',
|
||||
menuname: '账户管理',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/uum/uum_account.jsp',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0103',
|
||||
menuname: '员工管理',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/uum/uum_user.jsp',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0104',
|
||||
menuname: '应用管理员设置',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/portal/saconsole/appadmin.jsp',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0105',
|
||||
menuname: '角色授权',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: 'platform/uum/uum_role.jsp',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
},
|
||||
{
|
||||
menucode: 'MENU0106',
|
||||
menuname: '编码生成',
|
||||
parentmenucode: 'MENU01',
|
||||
menuicon: '',
|
||||
menuurl: 'products/mes/pub/cb/rulemaint.jsp',
|
||||
ordercode: '1',
|
||||
menuparam: ''
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
##################################################
|
||||
##
|
||||
## 服务配置
|
||||
# 示例如下:
|
||||
# com.noblelift.imp.api.pf.aut.IAuthenService2=authenService2,com.noblelift.imp.service.pf.aut.AuthenService
|
||||
# com.noblelift.imp.api.pf.aut.IAuthenService3=authenService3,com.noblelift.imp.service.pf.aut.AuthenService,1.0.0
|
||||
# com.noblelift.imp.api.pf.aut.IAuthenService4=authenService4,com.noblelift.imp.service.pf.aut.AuthenService,1.0.0,EapHSFGroup
|
||||
# com.noblelift.imp.api.pf.aut.IAuthenService5=authenService5,com.noblelift.imp.service.pf.aut.AuthenService,1.0.0,EapHSFGroup,3000000
|
||||
################################################
|
||||
|
||||
publicService=org.wdk.module.console.source.service.PublicService,org.wdk.module.console.source.service.PublicServiceImpl
|
||||
|
||||
service.portal.menu=com.noblelift.imp.platform.module.portal.source.service.MenuService,com.noblelift.imp.platform.module.portal.source.service.MenuServiceImpl
|
||||
|
||||
service.portal.package=com.noblelift.imp.platform.module.portal.source.service.PackageService,com.noblelift.imp.platform.module.portal.source.service.PackageServiceImpl
|
||||
|
||||
service.portal.app=com.noblelift.imp.platform.module.portal.source.service.AppService,com.noblelift.imp.platform.module.portal.source.service.AppServiceImpl
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,74 @@
|
||||
[交易说明]
|
||||
交易名: 按组合条件查询员工列表
|
||||
所属模块: 用户中心
|
||||
功能简述:
|
||||
版权所有:
|
||||
表引用:
|
||||
版本经历:
|
||||
|
||||
[数据库]
|
||||
--指定数据库,为空采用默认值,默认为db.properties中列出的第一个库
|
||||
|
||||
[IO定义]
|
||||
#################################################
|
||||
# 表字段对应输入参数 #
|
||||
#################################################
|
||||
//管理单元标识
|
||||
输入.manage_unit_uuid TYPEAS s_uuid
|
||||
|
||||
//部门标识
|
||||
输入.code_type TYPEAS s_uuid
|
||||
|
||||
//模糊查询信息
|
||||
输入.searchtext TYPEAS s_string
|
||||
输入.service_uuid TYPEAS s_uuid
|
||||
|
||||
[临时表]
|
||||
--这边列出来的临时表就会在运行期动态创建
|
||||
|
||||
[临时变量]
|
||||
--所有中间过程变量均可在此处定义
|
||||
|
||||
[业务过程]
|
||||
|
||||
##########################################
|
||||
# 1、输入输出检查 #
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# 2、主过程前处理 #
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# 3、业务主过程 #
|
||||
##########################################
|
||||
|
||||
IF 输入.manage_unit_uuid = ""
|
||||
QUERY
|
||||
SELECT s.*,c.code_uuid,c.code_type,c.code_name,t.type_name as code_typename,t.type_uuid
|
||||
FROM PF_MSG_SERVICE s
|
||||
LEFT JOIN PF_MSG_CODE c on s.msg_code = c.msg_code
|
||||
LEFT JOIN ENUM_MSG_TYPE t on c.code_type = t.type_uuid
|
||||
WHERE s.sysisdelete='0' AND s.service_uuid = 输入.service_uuid
|
||||
ENDSELECT
|
||||
ENDQUERY
|
||||
ELSE
|
||||
PAGEQUERY
|
||||
SELECT s.*,c.code_uuid,c.code_type,c.code_name,t.type_name as code_typename,t.type_uuid
|
||||
FROM PF_MSG_SERVICE s
|
||||
LEFT JOIN PF_MSG_CODE c on s.msg_code = c.msg_code
|
||||
LEFT JOIN ENUM_MSG_TYPE t on c.code_type = t.type_uuid
|
||||
WHERE s.sysisdelete='0' AND s.manage_unit_uuid = 输入.manage_unit_uuid
|
||||
OPTION 输入.code_type <> ""
|
||||
c.code_type = 输入.code_type
|
||||
ENDOPTION
|
||||
OPTION 输入.searchtext <> ""
|
||||
s.service_name like 输入.searchtext
|
||||
ENDOPTION
|
||||
ENDSELECT
|
||||
ENDPAGEQUERY
|
||||
ENDIF
|
||||
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
[交易说明]
|
||||
交易名: 获取未读私信数,按照发信人分组
|
||||
所属模块: 系统消息
|
||||
功能简述:
|
||||
版权所有:
|
||||
表引用:
|
||||
版本经历:
|
||||
|
||||
[数据库]
|
||||
--指定数据库,为空采用默认值,默认为db.properties中列出的第一个库
|
||||
|
||||
[IO定义]
|
||||
#################################################
|
||||
# 表字段对应输入参数 #
|
||||
#################################################
|
||||
//管理单元标识
|
||||
输入.personuuid TYPEAS s_string
|
||||
输入.sender_uuid TYPEAS f_string
|
||||
|
||||
[临时表]
|
||||
--这边列出来的临时表就会在运行期动态创建
|
||||
|
||||
[临时变量]
|
||||
--所有中间过程变量均可在此处定义
|
||||
|
||||
[业务过程]
|
||||
|
||||
##########################################
|
||||
# 1、输入输出检查 #
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# 2、主过程前处理 #
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# 3、业务主过程 #
|
||||
##########################################
|
||||
IF 输入.personuuid = ""
|
||||
ERROR ":未输入用户标识"
|
||||
ENDIF
|
||||
|
||||
QUERY
|
||||
SELECT sender_uuid,count(0) as unread_count from PF_MSG_SYSMSG
|
||||
Where receiver_uuid = 输入.personuuid and receiver_deleted='0' and is_readed='0' and msg_type='1'
|
||||
|
||||
OPTION 输入.sender_uuid <> ""
|
||||
sender_uuid in( 输入.sender_uuid)
|
||||
ENDOPTION
|
||||
|
||||
Group by sender_uuid
|
||||
ENDSELECT
|
||||
ENDQUERY
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
[交易说明]
|
||||
交易名: 分页查询私信
|
||||
所属模块: 系统消息
|
||||
功能简述:
|
||||
版权所有:
|
||||
表引用:
|
||||
版本经历:
|
||||
|
||||
[数据库]
|
||||
--指定数据库,为空采用默认值,默认为db.properties中列出的第一个库
|
||||
|
||||
[IO定义]
|
||||
#################################################
|
||||
# 表字段对应输入参数 #
|
||||
#################################################
|
||||
//管理单元标识
|
||||
输入.result_fields TYPEAS f_string
|
||||
输入.personuuid TYPEAS s_string
|
||||
输入.sender_uuid TYPEAS s_string
|
||||
|
||||
[临时表]
|
||||
--这边列出来的临时表就会在运行期动态创建
|
||||
|
||||
[临时变量]
|
||||
--所有中间过程变量均可在此处定义
|
||||
|
||||
[业务过程]
|
||||
|
||||
##########################################
|
||||
# 1、输入输出检查 #
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# 2、主过程前处理 #
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# 3、业务主过程 #
|
||||
##########################################
|
||||
|
||||
IF 输入.personuuid = ""
|
||||
ERROR ":未输入用户标识"
|
||||
ENDIF
|
||||
IF 输入.sender_uuid = ""
|
||||
ERROR ":未输入发送者标识"
|
||||
ENDIF
|
||||
|
||||
PAGEQUERY
|
||||
SELECT 输入.result_fields from PF_MSG_SYSMSG
|
||||
Where msg_type='1' and (
|
||||
|
||||
(receiver_uuid = 输入.personuuid and sender_uuid = 输入.sender_uuid and receiver_deleted='0') or
|
||||
|
||||
(sender_uuid = 输入.personuuid and receiver_uuid = 输入.sender_uuid and sender_deleted='0')
|
||||
)
|
||||
|
||||
ENDSELECT
|
||||
ENDPAGEQUERY
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
[交易说明]
|
||||
交易名: 获取未读消息数,含系统消息及私信数量
|
||||
所属模块: 系统消息
|
||||
功能简述:
|
||||
版权所有:
|
||||
表引用:
|
||||
版本经历:
|
||||
|
||||
[数据库]
|
||||
--指定数据库,为空采用默认值,默认为db.properties中列出的第一个库
|
||||
|
||||
[IO定义]
|
||||
#################################################
|
||||
# 表字段对应输入参数 #
|
||||
#################################################
|
||||
//管理单元标识
|
||||
输入.personuuid TYPEAS s_string
|
||||
|
||||
[临时表]
|
||||
--这边列出来的临时表就会在运行期动态创建
|
||||
|
||||
[临时变量]
|
||||
--所有中间过程变量均可在此处定义
|
||||
|
||||
[业务过程]
|
||||
|
||||
##########################################
|
||||
# 1、输入输出检查 #
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# 2、主过程前处理 #
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# 3、业务主过程 #
|
||||
##########################################
|
||||
IF 输入.personuuid = ""
|
||||
ERROR ":未输入用户标识"
|
||||
ENDIF
|
||||
|
||||
QUERY
|
||||
SELECT
|
||||
msg_type,count(0) as count from PF_MSG_SYSMSG
|
||||
WHERE receiver_uuid = 输入.personuuid and receiver_deleted='0' and is_readed='0'
|
||||
Group by msg_type
|
||||
|
||||
ENDSELECT
|
||||
ENDQUERY
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
[交易说明]
|
||||
交易名: 获取私信联系人列表
|
||||
所属模块: 系统消息
|
||||
功能简述:
|
||||
版权所有:
|
||||
表引用:
|
||||
版本经历:
|
||||
|
||||
[数据库]
|
||||
--指定数据库,为空采用默认值,默认为db.properties中列出的第一个库
|
||||
|
||||
[IO定义]
|
||||
#################################################
|
||||
# 表字段对应输入参数 #
|
||||
#################################################
|
||||
//管理单元标识
|
||||
输入.personuuid TYPEAS s_string
|
||||
|
||||
[临时表]
|
||||
--这边列出来的临时表就会在运行期动态创建
|
||||
|
||||
[临时变量]
|
||||
--所有中间过程变量均可在此处定义
|
||||
|
||||
[业务过程]
|
||||
|
||||
##########################################
|
||||
# 1、输入输出检查 #
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# 2、主过程前处理 #
|
||||
##########################################
|
||||
|
||||
|
||||
##########################################
|
||||
# 3、业务主过程 #
|
||||
##########################################
|
||||
IF 输入.personuuid = ""
|
||||
ERROR ":未输入用户标识"
|
||||
ENDIF
|
||||
|
||||
PAGEQUERY
|
||||
|
||||
SELECT max(last_time) as last_time,person_uuid,person_name from (
|
||||
SELECT max(syscreatedate) as last_time, sender_uuid as person_uuid,sender_name as person_name
|
||||
from PF_MSG_SYSMSG
|
||||
where receiver_uuid = 输入.personuuid and msg_type='1' and receiver_deleted='0'
|
||||
group by sender_uuid,sender_name
|
||||
union all
|
||||
|
||||
SELECT max(syscreatedate) as last_time, receiver_uuid as person_uuid,receiver_name as person_name
|
||||
from PF_MSG_SYSMSG
|
||||
where sender_uuid = 输入.personuuid and msg_type='1' and sender_deleted='0'
|
||||
group by receiver_uuid,receiver_name
|
||||
) a group by person_uuid,person_name
|
||||
|
||||
|
||||
ENDSELECT
|
||||
ENDPAGEQUERY
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user