Compare commits
3 Commits
eabe11b1c2
...
4736844f7b
| Author | SHA1 | Date |
|---|---|---|
|
|
4736844f7b | |
|
|
100103fbc5 | |
|
|
58c6be0576 |
|
|
@ -28,7 +28,7 @@ public interface SubBlackListDao {
|
|||
|
||||
void insertList(List<SubBlackListBean> list);
|
||||
|
||||
List<SubBlackListBean> getSubNameByName(String subName);
|
||||
List<SubBlackListBean> getSubNameByName(@Param("subName") String subName);
|
||||
|
||||
/**
|
||||
* 根据id查找
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
<!--新增班组-->
|
||||
<insert id="insertTeamManager" parameterType="com.bonus.hnrn.rnbmw.basic.entity.TeamManagerBean">
|
||||
insert into bns_smz_bm_sub_team (NAME,SUB_ID,team_type_id, team_id, EIN_TIME,EXIT_TIME,IS_ACTIVE,UPDATE_TIME)
|
||||
select #{name},#{subId},#{teamType},#{teamId}, #{einTime},#{exitTime},'1',now() from bns_smz_dual
|
||||
select #{name},#{subId},#{teamType},#{teamId}, #{einTime},#{exitTime},'1',now() from dual
|
||||
where NOT EXISTS (SELECT name FROM bns_smz_bm_sub_team WHERE name = #{name} and sub_id = #{subId} and is_active = 1)
|
||||
</insert>
|
||||
|
||||
|
|
@ -473,10 +473,10 @@
|
|||
a.team_id as teamId,
|
||||
a.SUB_ID as subId,
|
||||
bq.SUB_NAME as subName,
|
||||
a.EIN_TIME,
|
||||
a.EIN_TIME as einTime,
|
||||
a.team_type_id as teamTypeId,
|
||||
bstt.`NAME` as teamType,
|
||||
a.EXIT_TIME
|
||||
a.EXIT_TIME as exitTime
|
||||
from bns_smz_bm_sub_team a
|
||||
LEFT JOIN bns_smz_bm_subcontractor bq ON a.SUB_ID = bq.ID
|
||||
LEFT JOIN bns_smz_pm_company pc ON pc.id = bq.COMPANY_ID
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@
|
|||
|
||||
<insert id="regisAccount" parameterType="com.bonus.hnrn.rnama.core.entity.UserBean" useGeneratedKeys="true" keyProperty="id" >
|
||||
insert into bns_smz_sys_user(username,loginname,phone,ID_NUMBER,password,role_id,org_id,sub_id,pro_id,post_id,sex,status,create_type,face_photo,face_feature,collection_face_time,examine_status,createTime,updateTime,team_id)
|
||||
select #{username},#{username},#{phone},#{idNumber},#{password},#{role},#{orgId},#{subId},#{proId},#{postId},#{sex},'1','1',#{facePhoto},#{faceFeature},#{faceTime},'0',#{createTime},#{updateTime},#{teamId} from bns_smz_dual
|
||||
select #{username},#{username},#{phone},#{idNumber},#{password},#{role},#{orgId},#{subId},#{proId},#{postId},#{sex},'1','1',#{facePhoto},#{faceFeature},#{faceTime},'0',#{createTime},#{updateTime},#{teamId} from dual
|
||||
where NOT EXISTS (SELECT phone FROM bns_smz_sys_user WHERE phone = #{phone} and is_active = 1)
|
||||
</insert>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue