haogh 6 kuukautta sitten
vanhempi
commit
8346316359

+ 2 - 1
src/cn/hmsoft/art/enrol/service/PayXyService.java

@@ -5,6 +5,7 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
+import cn.hmsoft.log.LogHelper;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -222,7 +223,7 @@ public class PayXyService {
 		try {
 			map.put("FeeAmount", "¥" + NumericHelper.changeF2Y(enrol.getEnrol_fee_total() + ""));
 		} catch (Exception e) {
-			e.printStackTrace();
+			LogHelper.error(e.getMessage());
 		}
 		
 		ArtWeixinHelper.SendWeiXinTemplate(GobalBusinessType.AspectPay, enrol.getStd_id(), map);

+ 4 - 4
src/cn/hmsoft/art/service/ex/interview/ExInterviewRoomService.java

@@ -58,9 +58,9 @@ public class ExInterviewRoomService extends ArtService {
 	/*****************
 	 * 开启所有未开启的考场
 	 * 
-	 * @param ly_agent_id
-	 * @param exam_date
-	 * @param optr
+	 * @param ly_agent_id 考点ID
+	 * @param exam_date 考试日期
+	 * @param optr 操作员
 	 */
 	public synchronized void startRoom(int ly_agent_id, LocalDate exam_date, FrameOptr optr) {
 		// 开启所有考场
@@ -72,7 +72,7 @@ public class ExInterviewRoomService extends ArtService {
 					try {
 						this.startRoom(room.getLy_room_id(), optr);
 					} catch (Exception e) {
-
+						LogHelper.error(e.getMessage());
 					}
 				}
 			}