Explorar o código

Merge remote-tracking branch 'origin/master' into dev-lgl

lgl hai 11 meses
pai
achega
8fd6e55db4

+ 8 - 0
src/main/java/com/liang/entity/StaPayapproval.java

@@ -78,7 +78,15 @@ public class StaPayapproval implements Serializable {
78 78
      * @return
79 79
      */
80 80
     private String sqmc;
81
+    private String bh;
81 82
 
83
+    public String getBh() {
84
+        return bh;
85
+    }
86
+
87
+    public void setBh(String bh) {
88
+        this.bh = bh;
89
+    }
82 90
 
83 91
     public Integer getId() {
84 92
         return id;

+ 2 - 1
src/main/resources/mapper/PrjApproverecordDao.xml

@@ -518,9 +518,10 @@
518 518
         </if>
519 519
         <choose>
520 520
             <when test="sortName != null and sortName != '' and sortOrder != null and sortOrder != ''">
521
-                order by ${sortName} ${sortOrder}
521
+                order by ${sortName} ${sortOrder} DESC
522 522
             </when>
523 523
         </choose>
524
+        order by a.TJSJ DESC
524 525
     </select>
525 526
 
526 527
     <update id="updateRevokeRecord">

+ 2 - 1
src/main/resources/mapper/StaPayapprovalDao.xml

@@ -15,6 +15,7 @@
15 15
         <result property="yszl" column="YSZL" jdbcType="VARCHAR"/>
16 16
         <result property="fkjh" column="FKJH" jdbcType="INTEGER"/>
17 17
         <result property="sqmc" column="SQMC" jdbcType="VARCHAR"/>
18
+        <result property="bh" column="BH" jdbcType="VARCHAR"/>
18 19
     </resultMap>
19 20
 
20 21
     <!--查询单个-->
@@ -201,7 +202,7 @@
201 202
 
202 203
     <!--获取付款申请列表-->
203 204
     <select id="getFksqList" resultMap="StaPayapprovalMap" parameterType="map">
204
-        select b.*, u.name as CJRXM, FORMAT(b.CJSJ, 'yyyy-MM-dd') as CJRQ, c.HTMC, c.WJ as HTWJ, p.JHMC as FKJHMC,
205
+        select b.*,g.bh, u.name as CJRXM, FORMAT(b.CJSJ, 'yyyy-MM-dd') as CJRQ, c.HTMC, c.WJ as HTWJ, p.JHMC as FKJHMC,
205 206
         g.SQMC as FYSQMC, g.XMMC as RWSMC
206 207
         from sta_PayApproval b
207 208
         left join prj_PayPlan p on p.ID = b.FKJH

+ 3 - 2
src/main/resources/templates/payapply/list.html

@@ -25,7 +25,7 @@
25 25
                         <div class="layui-input-inline"  style="width: 200px">
26 26
                             <input type="text" name="erpbh" autocomplete="off" class="layui-input">
27 27
                         </div>
28
-                        <label class="layui-form-label" style="width: 60px;left: 5px">申请编号</label>
28
+                        <label class="layui-form-label" style="width: 90px;left: 5px">费用申请编号</label>
29 29
                         <div class="layui-input-inline"  style="width: 225px">
30 30
                             <input type="text" name="bh" autocomplete="off" class="layui-input">
31 31
                         </div>
@@ -51,7 +51,7 @@
51 51
 
52 52
 
53 53
                             <div class="layui-inline">
54
-                                <label class="layui-form-label" style="width: 60px">创建时间</label>
54
+                                <label class="layui-form-label" style="width: 90px">创建时间</label>
55 55
                                 <div class="layui-input-inline" style="width: 100px">
56 56
                                     <input type="text" name="cjsj1" id="cjsj1" placeholder="开始日期" class="layui-input" readonly>
57 57
                                 </div>
@@ -146,6 +146,7 @@
146 146
                     {type: 'numbers', fixed: 'left'},
147 147
                     {field: 'spzt', width: '11%',title: '审批状态', fixed: 'left'},
148 148
                     {field: 'rwsmc', width: '11%', title: '项目名称'},
149
+                    {field: 'bh', width: '11%', title: '费用申请编号'},
149 150
                     {field: 'htmc', width: '11%', title: '合同'},
150 151
                     {field: 'fysqmc', width: '15%',title: '费用申请'},
151 152
                     {field: 'bcfkje', width: '10%', title: '本次付款金额(万元)'},

+ 1 - 1
src/main/resources/templates/stafeemanage/list_allapply.html

@@ -30,7 +30,7 @@
30 30
                             </div>
31 31
                         </div>
32 32
                         <div class="layui-inline">
33
-                            <label class="layui-form-label" style="width: 90px">费用申请编号</label>
33
+                            <label class="layui-form-label" style="width: 90px">编号</label>
34 34
                             <div class="layui-input-inline" style="width: 150px">
35 35
                                 <input type="text" id="bh" name="bh" autocomplete="off" class="layui-input">
36 36
                             </div>