Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
鲁鑫
topsun-bpm
Commits
dfc75679
Commit
dfc75679
authored
Nov 22, 2023
by
wanghang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打样申请流程
parent
1b024111
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
15 deletions
+53
-15
application.properties
topsun-xt/src/main/resources/application.properties
+15
-15
proofingApply.xml
topsun/src/main/resources/config/demo/proofingApply.xml
+14
-0
BomMapper.xml
...ain/resources/config/topsun/mapper/proofing/BomMapper.xml
+24
-0
No files found.
topsun-xt/src/main/resources/application.properties
View file @
dfc75679
#
pub.db.url=jdbc:mysql://192.168.222.122:3406/topsun?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false
#
pub.db.user=root
#
pub.db.password=123456
#
log.db.url=jdbc:mysql://192.168.222.122:3406/topsun?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false
#
log.db.user=root
#
log.db.password=123456
pub.db.url
=
jdbc:mysql://127.0.0.1:3306/topsun?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false
pub.db.user
=
topsun
pub.db.password
=
topsun
log.db.url
=
jdbc:mysql://127.0.0.1:3306/topsun?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false
log.db.user
=
topsun
log.db.password
=
topsun
pub.db.url
=
jdbc:mysql://192.168.222.122:3406/topsun?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false
pub.db.user
=
root
pub.db.password
=
123456
log.db.url
=
jdbc:mysql://192.168.222.122:3406/topsun?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false
log.db.user
=
root
log.db.password
=
123456
#
pub.db.url=jdbc:mysql://127.0.0.1:3306/topsun?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false
#
pub.db.user=topsun
#
pub.db.password=topsun
#
#
log.db.url=jdbc:mysql://127.0.0.1:3306/topsun?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false
#
log.db.user=topsun
#
log.db.password=topsun
shiro.host
=
127.0.0.1
shiro.port
=
6379
...
...
topsun/src/main/resources/config/demo/proofingApply.xml
0 → 100644
View file @
dfc75679
<?xml version="1.0" encoding="UTF-8"?>
<query-mappings>
<query
name=
"slicedQuery"
table=
"proofing_apply"
>
<sql-query>
select t.* from proofing_apply t where 1=1
</sql-query>
<permissions>
<permission
column=
"person_member_id"
symbol=
"half_like"
alias=
"t"
kind=
"personId"
/>
<permission
column=
"full_id"
symbol=
"half_like"
alias=
"t"
kind=
"fullId"
manageType=
"demoQueryLeave,admin"
/>
</permissions>
</query>
</query-mappings>
\ No newline at end of file
topsun/src/main/resources/config/topsun/mapper/proofing/BomMapper.xml
0 → 100644
View file @
dfc75679
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.huigou.topsun.proofing.mapper.BomMapper"
>
<resultMap
id=
"BomVoResultMap"
type=
"com.huigou.topsun.proofing.domain.vo.BomVo"
>
<id
property=
"id"
column=
"product_material_id"
jdbcType=
"BIGINT"
/>
<result
property=
"materialNumber"
column=
"material_number"
jdbcType=
"BIGINT"
/>
<result
property=
"productId"
column=
"product_id"
jdbcType=
"BIGINT"
/>
<!-- <result property="resourceFiledTitle" column="resource_filed_title" jdbcType="VARCHAR"/>-->
<!-- <result property="resourceFieldType" column="resource_field_type" jdbcType="VARCHAR"/>-->
<!-- <result property="resourceFieldShow" column="resource_field_show" jdbcType="VARCHAR"/>-->
</resultMap>
<select
id=
'getBomVoByProductId'
resultMap=
"BomVoResultMap"
>
select pm.product_material_id,pm.material_number,p.product_id
from product p
inner join product_material pm
on(p.product_id=pm.product_id)
where p.product_id=#{productId} or 1=1
</select>
</mapper>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment