fineTrans소스정리

main
이범준 6 months ago
parent 6bafb2a844
commit 810fba2788

@ -35,16 +35,14 @@ public interface FineTransDao {
public FineTransVO findLicensePosition(FineTransVO param);
public void updatePicFile(FineTransVO param);
public void createFareTerminalUpdateValues(FineTransVO param);
public String getCarNo(FineTransVO param);
public void createFareTerminalHistoryNew(FineTransVO param);
public void updateFareTerminalPicInfo(FineTransVO param);
public Long countExemptCar(FineTransVO param);
public Long countWrongCar(FineTransVO param);

@ -608,24 +608,7 @@
AND SEQNO = #{seqno}
</select>
<update id="updatePicFile" parameterType="cfs.fine.vo.FineTransVO">
UPDATE DEFAULT_FARE_READ_INFO_DAMO
SET
<if test="carsMovePictureFile != null and carsMovePictureFile != ''">
cars_move_picture_file = #{carsMovePictureFile, jdbcType=VARCHAR},
</if>
<if test="carsStopPictureFile != null and carsStopPictureFile != ''">
cars_stop_picture_file = #{carsStopPictureFile, jdbcType=VARCHAR},
</if>
update_date = SYSDATE,
updater = #{updater, jdbcType=VARCHAR}
WHERE worker_id = #{workerId, jdbcType=VARCHAR}
AND fare_office_id = #{fareOfficeId, jdbcType=VARCHAR}
AND booth_id = #{boothId, jdbcType=VARCHAR}
AND PASS_DATE = #{passDate, jdbcType=VARCHAR}
AND work_times = #{passTime, jdbcType=VARCHAR}
AND seqno = #{seqno, jdbcType=INTEGER}
</update>
<insert id="createFareTerminalUpdateValues" parameterType="cfs.fine.vo.FineTransVO">
INSERT INTO FARE_TERMINAL_UPDATE_INFO (WORKER_ID,FARE_OFFICE_ID,BOOTH_ID,
@ -699,24 +682,7 @@
AND seqno = #{seqno, jdbcType=INTEGER}
</insert>
<update id="updateFareTerminalPicInfo" parameterType="cfs.fine.vo.FineTransVO">
UPDATE FARE_TERMINAL_INFO
SET
<if test="carsMovePictureFile != null and carsMovePictureFile != ''">
cars_move_picture_file = #{carsMovePictureFile, jdbcType=VARCHAR},
</if>
<if test="carsStopPictureFile != null and carsStopPictureFile != ''">
cars_stop_picture_file = #{carsStopPictureFile, jdbcType=VARCHAR},
</if>
update_date = SYSDATE,
updater = #{updater, jdbcType=VARCHAR}
WHERE worker_id = #{workerId, jdbcType=VARCHAR}
AND fare_office_id = #{fareOfficeId, jdbcType=VARCHAR}
AND booth_id = #{boothId, jdbcType=VARCHAR}
AND PASS_DATE = #{passDate, jdbcType=VARCHAR}
AND work_times = #{passTime, jdbcType=VARCHAR}
AND seqno = #{seqno, jdbcType=INTEGER}
</update>
<select id="countExemptCar" parameterType="cfs.fine.vo.FineTransVO" resultType="java.lang.Long">
/* 건수 조회(FineTransDao.countExemptCar) */

@ -17,8 +17,6 @@ public interface FineTransService {
public FineTransVO findFareReadInfo(FineTransVO param) throws Exception;
//public void updatePicFile(FineTransVO param) throws Exception;
public Long countExemptCar(FineTransVO param) throws Exception;
public Long countSameCar(FineTransVO param) throws Exception;

@ -485,7 +485,7 @@ public class FineTransController {
fParam.setUserName(HttpUtil.getEmpNm());
fParam.setUpdater(HttpUtil.getEmpNm());
fParam.setGsSajun(codeInfoService.findGsSajun());
//fineTransService.updatePicFile(fParam);
result.setMsg(Result.STATUS_SUCESS, "수정이 완료되었습니다.");
}catch(RuntimeException e) {
result.setErrorMsg(Result.STATUS_ERROR, Result.STATUS_ERROR_MESSAGE);

Loading…
Cancel
Save