Browse Source

导出项目列表BUG修复

Signed-off-by: anderx <312518615@qq.com>
anderx 6 years ago
parent
commit
04a66167b2

+ 1 - 1
src/main/java/com/goafanti/common/mapper/TOrderLogMapper.xml

@@ -301,7 +301,7 @@
     where id = #{id,jdbcType=INTEGER}
   </update>
   <select id="selectOrderByNo" parameterType="string" resultType="com.goafanti.order.bo.TOrderLogBo">
-  select a.id,a.order_no as orderNo,a.aid,a.process,a.create_time as createTime, b.name as adminName
+  select a.id,a.order_no as orderNo,a.aid,a.process,a.create_time as createTime, b.name as adminName,a.remarks
 	from t_order_log a left join admin b on a.aid=b.id
 	where a.order_no= #{orderNo,jdbcType=VARCHAR}
 	order by a.create_time

+ 2 - 1
src/main/java/com/goafanti/order/service/OrderNewService.java

@@ -9,6 +9,7 @@ import javax.servlet.http.HttpServletResponse;
 
 import org.apache.poi.xssf.usermodel.XSSFWorkbook;
 
+import com.goafanti.common.error.BusinessException;
 import com.goafanti.common.model.TOrderDun;
 import com.goafanti.common.model.TOrderNew;
 import com.goafanti.common.model.TOrderOutsource;
@@ -174,7 +175,7 @@ public interface OrderNewService {
 	List<TOrderLogBo> selectOrderLog(String orderNo);
 
 	void pushGeneralSendNoticeAndEmail(List<String> alist, Integer type,String OrderNo,String adminId);
-	void exportOrderTaskData(String orderNo, HttpServletResponse response)throws IOException ;
+	void exportOrderTaskData(String orderNo, HttpServletResponse response)throws IOException,BusinessException ;
 	
 	
 }

+ 1 - 1
src/main/java/com/goafanti/order/service/impl/OrderNewServiceImpl.java

@@ -1033,7 +1033,7 @@ public class OrderNewServiceImpl extends BaseMybatisDao<TOrderNewMapper> impleme
 
 
 	@Override
-	public void exportOrderTaskData(String orderNo, HttpServletResponse response) throws IOException {
+	public void exportOrderTaskData(String orderNo, HttpServletResponse response) throws IOException,BusinessException {
 		OutputStream out = response.getOutputStream();
 		try {
 			List<TOrderTaskBo> list=selectOrderTask(orderNo);