Commit dfc75679 authored by wanghang's avatar wanghang

打样申请流程

parent 1b024111
#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
......
<?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
<?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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment