order by 정렬 오류 수정, 주석 오타 수정

dev
이범준 4 months ago
parent 72e657893d
commit 88a89e3dd4

@ -51,7 +51,6 @@ public class DisposeProcessDetails extends HWPFormat {
for(int a=0;a<partitions.size();a++) {
DataObject partitionN = partitions.get(a);
String titleArg1 = partitionN.string("dsuseMthNm");
String titleArg2 = "";
List<String> photos = (List<String>)partitionN.get("dsuseimgPaths");
for(int i=0;i<photos.size();i++) {

@ -4,19 +4,18 @@ import java.util.List;
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
import cokr.xit.adds.nims.DsuseMgtDetailQuery;
import cokr.xit.adds.nims.DsuseMgtDocQuery;
import cokr.xit.foundation.component.AbstractMapper;
import cokr.xit.foundation.data.DataObject;
/** DAO
/** DAO
*/
@Mapper("dsuseMgtDocMapper")
public interface DsuseMgtDocMapper extends AbstractMapper {
/** .<br />
* @param req
* @return
/** .<br />
* @param req
* @return
*/
List<DataObject> selectDsuseMgtDocList(DsuseMgtDocQuery req);

@ -1,31 +1,21 @@
package cokr.xit.adds.nims.service.bean;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import cokr.xit.adds.nims.DsuseMgtDocQuery;
import cokr.xit.adds.nims.DsuseMgtReceiptQuery;
import cokr.xit.adds.nims.dao.DsuseMgtDocMapper;
import cokr.xit.adds.nims.dao.DsuseMgtReceiptMapper;
import cokr.xit.adds.nims.service.DsuseMgtDocService;
import cokr.xit.adds.nims.service.DsuseMgtReceiptService;
import cokr.xit.base.code.service.bean.CodeBean;
import cokr.xit.base.file.FileInfo;
import cokr.xit.base.file.service.FileQuery;
import cokr.xit.base.file.service.bean.FileBean;
import cokr.xit.foundation.component.AbstractServiceBean;
import cokr.xit.foundation.data.DataObject;
@Service("dsuseMgtDocService")
public class DsuseMgtDocServiceBean extends AbstractServiceBean implements DsuseMgtDocService {
/** 폐기관리접수 정보 DAO */
/** 폐기보고문서관리 정보 DAO */
@Resource(name = "dsuseMgtDocMapper")
private DsuseMgtDocMapper dsuseMgtDocMapper;

@ -21,7 +21,9 @@ public class DsuseMgtReceiptServiceBean extends AbstractServiceBean implements D
@Override
public List<DataObject> getDsuseMgtReceiptList(DsuseMgtReceiptQuery query){
if(ifEmpty(query.getOrderBy(), ()->"").equals("")) {
query.setOrderBy("DSCDMNG_ID DESC");
}
return dsuseMgtReceiptMapper.selectDsuseMgtReceiptList(query);
}
@ -35,6 +37,7 @@ public class DsuseMgtReceiptServiceBean extends AbstractServiceBean implements D
* @param DsuseMgtReceiptQuery
* @return
*/
@Override
public String removeDsuseMgt(DsuseMgtReceiptQuery query) {
if(dsuseMgtReceiptMapper.removeDsuseMgt(query) == 1) {
return "[S]";
@ -47,6 +50,7 @@ public class DsuseMgtReceiptServiceBean extends AbstractServiceBean implements D
* @param DsuseMgtReceiptQuery
* @return
*/
@Override
public String updatePrgsSttusOfDsuseMgt(DsuseMgtReceiptQuery query) {
if(dsuseMgtReceiptMapper.updatePrgsSttusOfDsuseMgt(query) == 1) {
return "[S]";

@ -174,6 +174,9 @@ public class AddsNimsController extends ApplicationController {
//-------------------------------------------------------------------------------------------------
@RequestMapping(value = "dsuseMgtRslt-list.do", name="결과[통보] 처리 조회")
public ModelAndView getDsuseMgtRsltList(DsuseMgtReceiptQuery query) {
query.setOrderBy("dsuse_de DESC, dsuse_mth_cd, dscdmng_id DESC");
setFetchSize(query);
return setCollectionInfo(new ModelAndView("jsonView"), dsuseMgtReceiptService.getDsuseMgtReceiptList(query),"","");
@ -249,7 +252,7 @@ public class AddsNimsController extends ApplicationController {
//-------------------------------------------------------------------------------------------------
// 보고 문서 관리
//-------------------------------------------------------------------------------------------------
@RequestMapping(value = "dsuseMgtDoc-list.do", name="결과[통보] 처리 조회")
@RequestMapping(value = "dsuseMgtDoc-list.do", name="보고문서관리 목록 조회")
public ModelAndView getDsuseMgtDocList(DsuseMgtDocQuery query) {
query.setOrderBy("dsuse_de DESC, dsuse_mth_cd, dscdmng_id DESC");
setFetchSize(query);

@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="cokr.xit.adds.nims.dao.DsuseMgtDocMapper">
<!-- 폐기관리상세 정보 매퍼
<!-- 폐기보고문서관리 정보 매퍼
-->
<sql id="select">

Loading…
Cancel
Save