Commit f645c760 authored by Administrator's avatar Administrator

push

parent 2747e9c5
......@@ -30,12 +30,16 @@
FROM ACC_GROUP_T@ACCU_DBLINK LEFT join ACC_GROUP_RELATION_T@ACCU_DBLINK on ACC_GROUP_T.GROUP_NO = ACC_GROUP_RELATION_T.GROUP_NO
left join CITYINFO on CITYINFO.CITYCODE = substr(ACC_GROUP_RELATION_T.ORIGINAL_NO,0,6)
left join MAKETYPE_DIC on MAKETYPE_DIC.TYPENUM = decode(substr(ACC_GROUP_RELATION_T.ORIGINAL_NO,0,6),'419900',6,substr(ACC_GROUP_RELATION_T.ORIGINAL_NO,21,1))
where ACC_GROUP_RELATION_T.DEAL_DATE =#(dealDate)
where to_char(ACC_GROUP_T.import_time,'yymmdd') =#{dealDate}
and ACC_GROUP_T.group_no not in (select groupinfo.groupno from groupinfo)
</select>
<!--<select id="findAccGroupTEntityByCardIdOrAcceptNo" resultType="java.util.HashMap" parameterType="String">-->
<!--select * from GROUPINFO where GROUPNO =#{acceptNo} or GROUPNO =substr(#{acceptNo},0,8)-->
<!--</select>-->
<select id="findAccGroupTEntityByCardIdOrAcceptNo" resultType="java.util.HashMap" parameterType="String">
select * from acc_card_t@accu_dblink left join acc_group_t@accu_dblink on acc_group_t.group_no=substr(acc_card_t.accept_no,0,8)
left join acc_group_relation_t@accu_dblink on acc_group_t.group_no = acc_group_relation_t.group_no
where accept_no =#{accept_no} or id_no=#{accept_no}
</select>
</mapper>
\ No newline at end of file
......@@ -85,9 +85,7 @@
where PRODUCTION_TASK_LIST_ID=#{productionTaskListId}
</update>
<select id="findProductionTaskListEntityByAcceptNo" resultType="com.yxproject.start.entity.ProductionTaskListEntity" parameterType="String">
select PRODUCTION_TASK_LIST_ID,MAKE_TYPE,OLD_MAKE_TYPE,CITYCODE,WORKSHOP,SUBMIT_DATE,HANDOUT_DATE,IS_PRINT,DOWNLOAD_DATE,PRINT_OUT,PERMANENT_POSITION_DATE,ROLL_OUT_WORKSHOP_DATE,QUALITYINSPECTION_NAME,QUALITYINSPECTION_DATE,EXCEPTION_INFORMATION,OUTBOUND_DATE,PUTINSTORAGE_DATE from PRODUCTION_TASK_LIST left join GROUPINFO on GROUPINFO.CYCLESHEETID = PRODUCTION_TASK_LIST.PRODUCTION_TASK_LIST_ID where GROUPINFO.GROUPNO =#{acceptNo} or GROUPINFO.GROUPNO =substr (#{acceptNo},0,8)
</select>
</mapper>
\ No newline at end of file
......@@ -4,6 +4,12 @@
<select id="findProductionTaskListSequenceNextValue" resultType="int" >
select PRODUCTION_TASK_LIST_SEQ.nextval from dual
</select>
<select id="findGroupInfoSequenceNextValue" resultType="int" >
select GROUPINFO_SEQ.nextval from dual
</select>
<select id="findPoliceStationVailedSequenceNextValue" resultType="int" >
select POLICE_STATION_VAILED_SEQ.nextval from dual
</select>
</mapper>
\ No newline at end of file
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